From ef5211749fa0d7acd599ba3faf58cc6799d7ff9e Mon Sep 17 00:00:00 2001 From: daudix Date: Fri, 26 Jul 2024 03:04:12 +0300 Subject: [PATCH] Attempt to pass w3 validator --- templates/partials/head.html | 40 ++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/templates/partials/head.html b/templates/partials/head.html index 31c97d8..04e0e4b 100644 --- a/templates/partials/head.html +++ b/templates/partials/head.html @@ -7,8 +7,8 @@ {%- if config.extra.primary_color_dark %} {%- endif %} - {% include "partials/title.html" %} + {%- if config.markdown.highlight_code and config.markdown.highlight_theme == "css" %} {%- if config.markdown.highlight_themes_css | length > 0 %} @@ -19,6 +19,25 @@ {%- endif %} {%- endif %} + {%- if config.extra.comments %} + + {%- endif %} + + + + + {%- if config.extra.emoji_favicon %} + + {%- endif %} + + {%- if config.generate_feeds and config.feed_filenames %} + {%- for feed in config.feed_filenames %} + + {%- endfor %} + {%- elif config.generate_feeds and config.feed_filenames | length > 0 %} + + {%- endif %} + {%- set stylesheets = [ "style.css" ] %} {%- if config.extra.stylesheets %} @@ -85,25 +104,6 @@ {%- endfor %} {%- endif %} - {%- if config.extra.comments %} - - {%- endif %} - - - - - {%- if config.extra.emoji_favicon %} - - {%- endif %} - - {%- if config.generate_feeds and config.feed_filenames %} - {%- for feed in config.feed_filenames %} - - {%- endfor %} - {%- elif config.generate_feeds and config.feed_filenames | length > 0 %} - - {%- endif %} -