diff --git a/templates/partials/head.html b/templates/partials/head.html index 5689662..59320a1 100644 --- a/templates/partials/head.html +++ b/templates/partials/head.html @@ -38,22 +38,6 @@ {%- endif %} - {%- set stylesheets = [ "style.css" ] %} - - {%- if config.extra.stylesheets %} - {%- set stylesheets = stylesheets | concat(with=config.extra.stylesheets) %} - {%- endif %} - - {%- if page.extra.stylesheets %} - {%- set stylesheets = stylesheets | concat(with=page.extra.stylesheets) %} - {%- elif section.extra.stylesheets %} - {%- set stylesheets = stylesheets | concat(with=section.extra.stylesheets) %} - {%- endif %} - - {%- for stylesheet in stylesheets %} - - {%- endfor %} - + {%- set stylesheets = [ "style.css" ] %} + + {%- if config.extra.stylesheets %} + {%- set stylesheets = stylesheets | concat(with=config.extra.stylesheets) %} + {%- endif %} + + {%- if page.extra.stylesheets %} + {%- set stylesheets = stylesheets | concat(with=page.extra.stylesheets) %} + {%- elif section.extra.stylesheets %} + {%- set stylesheets = stylesheets | concat(with=section.extra.stylesheets) %} + {%- endif %} + + {%- for stylesheet in stylesheets %} + + {%- endfor %} + {%- if config.extra.goatcounter %}