Remove trailing slashes on void elements https://github.com/validator/validator/wiki/Markup-»-Void-elements#trailing-slashes-in-void-element-start-tags-do-not-mark-the-start-tags-as-self-closing
Alan Pearce alan@alanpearce.eu
Wed, 26 Apr 2023 08:45:48 +0200
3 files changed, 4 insertions(+), 4 deletions(-)
M templates/base.html → templates/base.html
@@ -2,11 +2,11 @@ <!DOCTYPE html> <html lang="{{ lang | default(value="en-US" ) }}"> <head> <meta charset="utf-8"> - <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> {% include "favicon.html" ignore missing -%} <title>{%- block title %}{{ config.title }}{%- endblock %}</title> {% include "seo_tags.html" ignore missing -%} - <meta name="referrer" content="no-referrer-when-downgrade" /> + <meta name="referrer" content="no-referrer-when-downgrade"> {%- if config.generate_feed %} {% block rss -%} <link rel="alternate" type={% if config.feed_filename == "atom.xml" %}"application/atom+xml"{% else %}"application/rss+xml"{% endif %} title="{{ config.title }}" href="{{ get_url(path=config.feed_filename) | safe }}">
M templates/favicon.html → templates/favicon.html
@@ -1,3 +1,3 @@ {% if config.extra.favicon %} - <link rel="shortcut icon" href="{{ config.extra.favicon }}" /> + <link rel="shortcut icon" href="{{ config.extra.favicon }}"> {%- endif -%}