From 2057558a05c4f2e494d9151208c0714079e1ee4c Mon Sep 17 00:00:00 2001 From: alessandro <3762382+potaito@users.noreply.github.com> Date: Thu, 29 Dec 2022 13:19:36 +0100 Subject: [PATCH] Remove trailing slash from closing tag According to https://validator.w3.org trailing slashes like these should not be used: "Trailing slash on void elements has no effect and interacts badly with unquoted attribute values" It's just an INFO message, but doesn't hurt to adhere to the recommendation I think. --- lib/template.html | 72 +++++++++++++++++++++++------------------------ 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/lib/template.html b/lib/template.html index 981aa9a..9a86f1e 100755 --- a/lib/template.html +++ b/lib/template.html @@ -3,123 +3,123 @@ {{ seo_tag.title }} {% endif %} - + {% if seo_tag.page_title %} - + {% endif %} {% if seo_tag.author.name %} - + {% endif %} - + {% if seo_tag.description %} - - - + + + {% endif %} {% if site.url %} - - + + {% endif %} {% if seo_tag.site_title %} - + {% endif %} {% if seo_tag.image %} - + {% if seo_tag.image.height %} - + {% endif %} {% if seo_tag.image.width %} - + {% endif %} {% if seo_tag.image.alt %} - + {% endif %} {% endif %} {% if page.date %} - - + + {% else %} - + {% endif %} {% if paginator.previous_page %} - + {% endif %} {% if paginator.next_page %} - + {% endif %} {% if seo_tag.image %} - - + + {% else %} - + {% endif %} {% if seo_tag.image.alt %} - + {% endif %} {% if seo_tag.page_title %} - + {% endif %} {% if site.twitter %} - + {% if seo_tag.author.twitter %} - + {% endif %} {% endif %} {% if site.facebook %} {% if site.facebook.admins %} - + {% endif %} {% if site.facebook.publisher %} - + {% endif %} {% if site.facebook.app_id %} - + {% endif %} {% endif %} {% if site.webmaster_verifications %} {% if site.webmaster_verifications.google %} - + {% endif %} {% if site.webmaster_verifications.bing %} - + {% endif %} {% if site.webmaster_verifications.alexa %} - + {% endif %} {% if site.webmaster_verifications.yandex %} - + {% endif %} {% if site.webmaster_verifications.baidu %} - + {% endif %} {% if site.webmaster_verifications.facebook %} - + {% endif %} {% elsif site.google_site_verification %} - + {% endif %}