all repos — website @ a803508850bb890de5caabda9bbc1552666da6f2

My website

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
commit

a803508850bb890de5caabda9bbc1552666da6f2

parent

699122737c3c933b7bafd8a2043e40c726b4e165

3 files changed, 4 insertions(+), 4 deletions(-)

jump to
M templates/base.htmltemplates/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.htmltemplates/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 -%}
M templates/seo_tags.htmltemplates/seo_tags.html
@@ -1,1 +1,1 @@-<meta name="title" content="{% if page.title %}{{ page.title }}{% else %}{{ config.title }}{% endif %}" />
+<meta name="title" content="{% if page.title %}{{ page.title }}{% else %}{{ config.title }}{% endif %}">