From 086bf0259d8d264d84a4276144fa6be57b3b39bb Mon Sep 17 00:00:00 2001 From: Daniel Ruf Date: Sat, 16 Jan 2021 13:08:54 +0100 Subject: [PATCH] elements should be void in HTML5 (closes #377) --- layouts/_default/baseof.html | 4 ++-- layouts/partials/site-favicon.html | 2 +- layouts/partials/site-navigation.html | 2 +- layouts/shortcodes/form-contact.html | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index bf74cbf..567a2f4 100755 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -30,8 +30,8 @@ {{ if .OutputFormats.Get "RSS" }} {{ with .OutputFormats.Get "RSS" }} - - + + {{ end }} {{ end }} diff --git a/layouts/partials/site-favicon.html b/layouts/partials/site-favicon.html index b7bb9c1..0ea923e 100644 --- a/layouts/partials/site-favicon.html +++ b/layouts/partials/site-favicon.html @@ -1,3 +1,3 @@ {{ if .Site.Params.favicon }} - + {{ end }} diff --git a/layouts/partials/site-navigation.html b/layouts/partials/site-navigation.html index d73c66d..0b588f2 100644 --- a/layouts/partials/site-navigation.html +++ b/layouts/partials/site-navigation.html @@ -2,7 +2,7 @@
{{ with .Site.Params.site_logo }} - {{ $.Site.Title }} + {{ $.Site.Title }} {{ else }} {{ .Site.Title }} {{ end }} diff --git a/layouts/shortcodes/form-contact.html b/layouts/shortcodes/form-contact.html index d06b248..23995b7 100644 --- a/layouts/shortcodes/form-contact.html +++ b/layouts/shortcodes/form-contact.html @@ -4,10 +4,10 @@
- + - +
{{ i18n "emailRequiredNote" }}
@@ -15,6 +15,6 @@ - +