diff --git a/src/page.njk b/src/page.njk index c0a8860e6e..cc3bc433f4 100644 --- a/src/page.njk +++ b/src/page.njk @@ -13,32 +13,26 @@ - {%- if asset.pluginLinks %} - {%- for link in asset.pluginLinks %} + {%- if asset.pluginLinks -%} + {%- for link in asset.pluginLinks -%} {{ link }} - {%- endfor %} - {%- endif %} + {%- endfor -%} + {%- endif -%} - {%- if siteNav %} - - {%- endif %} - {%- if pageNav %} - - {%- endif %} - {{ headFileBottomContent }} - {%- if faviconUrl %} - - {%- endif %} + {%- if siteNav -%} {%- endif -%} + {%- if pageNav -%} {%- endif -%} + {{- headFileBottomContent -}} + {%- if faviconUrl -%} {%- endif -%}
- {{ headerHtml }} + {{ headerHtml -}}
- {{ siteNavHtml }} + {{ siteNavHtml -}} {{ content }} - {{ pageNavHtml }} + {{ pageNavHtml -}}
- {{ footerHtml }} + {{ footerHtml -}}
@@ -51,18 +45,15 @@ const enableSearch = {{ enableSearch }} - {%- if asset.externalScripts %} {%- for script in asset.externalScripts %} {%- endfor %} {%- endif %} - {%- if asset.pluginScripts %} {%- for script in asset.pluginScripts %} {{ script }} {%- endfor %} {%- endif %} - diff --git a/test/functional/test_site/expected/bugs/index.html b/test/functional/test_site/expected/bugs/index.html index 774d5a13a4..c0da8dc821 100644 --- a/test/functional/test_site/expected/bugs/index.html +++ b/test/functional/test_site/expected/bugs/index.html @@ -32,7 +32,6 @@
-

popover initiated by trigger: honor trigger attribute

@@ -84,7 +83,6 @@ link text]

-