From 37c45379ec83d07247b39a087e4bd6faa8f895cc Mon Sep 17 00:00:00 2001 From: tdro Date: Tue, 8 Nov 2022 19:24:37 -0500 Subject: themes/default/layouts/partials/base-head: Replace hugo.Generator with markup Use XML conventions on void elements. Newer versions of the nu validator seem to be really pedantic about this, but this theme already mucks about in the XML namespace in a few places. --- themes/default/layouts/partials/base-head.html | 52 +++++++++++++------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/themes/default/layouts/partials/base-head.html b/themes/default/layouts/partials/base-head.html index 3ef919e..cd0d1b6 100644 --- a/themes/default/layouts/partials/base-head.html +++ b/themes/default/layouts/partials/base-head.html @@ -10,45 +10,45 @@ {{- $author := partial "function-authors-data.html" (dict "Data" $authorData) -}} - - + + {{ if or .Params.Unlisted .Params.ExpiryDate -}} - + {{- else -}} - + {{- end }} - - -{{ hugo.Generator }} + + + {{ with .Site.Params.site.refresh -}} - + {{- end }} - - - + + + - - - - - - - + + + + + + + - - - - + + + + {{- partial "base-search.html" . -}} - + {{- $index := resources.Get "js/index.js" -}} @@ -59,11 +59,11 @@ {{- $css := slice $default $syntax | resources.Concat "css/bundle.css" | resources.Minify | fingerprint -}} {{ if .Site.Params.site.production }} - + {{ else }} - - + + {{ end }} -- cgit v1.2.3