diff --git a/config/components.json b/config/components.json index 0018b27912..702a0d45b1 100644 --- a/config/components.json +++ b/config/components.json @@ -9,13 +9,13 @@ "templateName": "components/checkboxes/_checkbox-macro.njk", "macroName": "onsCheckbox" }, - "icons": { + "icon": { "macroName": "onsIcon" }, "image": { "macroName": "onsImage" }, - "lists": { + "list": { "macroName": "onsList" }, "related-content/section": { diff --git a/src/components/access-code/example-access-code-error.njk b/src/components/access-code/example-access-code-error.njk index 279de9b6fb..f80c6ed145 100644 --- a/src/components/access-code/example-access-code-error.njk +++ b/src/components/access-code/example-access-code-error.njk @@ -20,7 +20,7 @@ layout: ~ }) %} - {% from "components/lists/_macro.njk" import onsList %} + {% from "components/list/_macro.njk" import onsList %} {{ onsList({ "element": "ol", diff --git a/src/components/breadcrumbs/_macro.njk b/src/components/breadcrumbs/_macro.njk index 2bb69aaba7..5ccd840cb2 100644 --- a/src/components/breadcrumbs/_macro.njk +++ b/src/components/breadcrumbs/_macro.njk @@ -1,4 +1,4 @@ -{% from "components/icons/_macro.njk" import onsIcon %} +{% from "components/icon/_macro.njk" import onsIcon %} {% macro onsBreadcrumbs(params) %}