diff --git a/docs/templates.md b/docs/templates.md index 5cc9a00..c757652 100644 --- a/docs/templates.md +++ b/docs/templates.md @@ -172,6 +172,10 @@ The following blocks are used by the plugin's templates. You can override these
area to specify what stylesheets to include, with the default list loading the Roboto webfont, followed by any user defined stylesheets and then those imported from installed plugins.
headIcons
list of favicon types for various browsers, with the default icon as the Scottish Government saltire.
+
bodyStart
+
area to place elements immediately after the opening <body> tag.
+
pageTopStart
+
area to place elements at the start of the ds_page__top area of the page, immediately before the siteHeader block.
siteHeader
area to place the 'Site header' pattern, with the default containing a number of additional blocks for customisation.
siteBrandingLogo
diff --git a/src/nunjucks/sg-prototype-templates/layouts/_base-layout.njk b/src/nunjucks/sg-prototype-templates/layouts/_base-layout.njk index afb4677..e05b930 100644 --- a/src/nunjucks/sg-prototype-templates/layouts/_base-layout.njk +++ b/src/nunjucks/sg-prototype-templates/layouts/_base-layout.njk @@ -26,6 +26,7 @@ + {% block bodyStart %}{% endblock %}