diff options
author | Alan Pearce | 2023-04-26 08:45:48 +0200 |
---|---|---|
committer | Alan Pearce | 2023-04-26 08:46:58 +0200 |
commit | a803508850bb890de5caabda9bbc1552666da6f2 (patch) | |
tree | 73d93958522e349576061293ab74883eea83feb1 /templates/base.html | |
parent | 699122737c3c933b7bafd8a2043e40c726b4e165 (diff) | |
download | zola-bearblog-a803508850bb890de5caabda9bbc1552666da6f2.tar.lz zola-bearblog-a803508850bb890de5caabda9bbc1552666da6f2.tar.zst zola-bearblog-a803508850bb890de5caabda9bbc1552666da6f2.zip |
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
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/base.html b/templates/base.html index f46b79f..70b7224 100644 --- a/templates/base.html +++ b/templates/base.html @@ -2,11 +2,11 @@ <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 }}"> |