From 31395878a127a6dd474da50c2f93956588aa2135 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Tue, 31 May 2022 03:00:20 -0700 Subject: HTML5 Validation & Cleanup --- templates/macros/head.html | 120 ++++++++++++++++++++++----------------------- 1 file changed, 60 insertions(+), 60 deletions(-) (limited to 'templates/macros/head.html') diff --git a/templates/macros/head.html b/templates/macros/head.html index 9e4d59f..f6090a6 100644 --- a/templates/macros/head.html +++ b/templates/macros/head.html @@ -1,32 +1,32 @@ {%- macro stylesheet() %} - + {%- endmacro %} {%- macro resource() %} {%- if config.extra.fonts %}{%- for i in config.extra.fonts %} {%- if i.url is matching("^http[s]?://") %} - + {%- else %} - + {%- endif %} {%- endfor %}{%- endif %} {%- if config.extra.fontawesome %} - + {%- endif %} {%- if config.build_search_index %} {%- if config.extra.js_search_index %} - + {%- endif %} {%- if config.extra.js_search %} - + {%- endif %} {%- endif %} {%- if config.generate_feed %} - + {%- endif %} {%- endmacro %} @@ -34,19 +34,19 @@ {%- macro favicons() %} {%- if config.extra.favicon_theme_color %} - + {%- endif %} {%- if config.extra.favicon_ms_color %} - + {%- endif %} {%- if config.extra.favicon_webmanifest %} - + {%- endif %} {%- if config.extra.favicon_mask and config.extra.favicon_mask_color %} - + {%- endif %} {%- if config.extra.favicon180 %} @@ -69,11 +69,11 @@ {#- is_404: using for the 404.html template -#} {%- macro seo( title="",title_addition="",description="",type="website",is_home=false,is_404=false,is_page=false,page_images="",page_section="",created_time="2021-07-04T07:07:00-07:00", updated_time="2021-07-04T07:07:00-07:00" ) %} {%- if is_404 -%} - + {%- else -%} - - - + + + {%- endif -%} {%- if current_url %} @@ -84,25 +84,25 @@