aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2024-08-26 21:57:24 +0200
committerMatěj Cepl <mcepl@cepl.eu>2024-08-26 21:58:51 +0200
commite5b79e4be9b5434d1161329dce3378834238c18c (patch)
treefde922f89df73a5cadbb58212b52aad4d34c2c17
parent4c4bf6cc2daa7a906708156152a24341d5efeaa4 (diff)
downloadpelican-themes-e5b79e4be9b5434d1161329dce3378834238c18c.tar.gz
fix: make templates more validator.w3.org friendlyHEADmyblog
Trailing slash on void elements is evil.
-rw-r--r--zurb-F5-basic/templates/base.html12
-rw-r--r--zurb-F5-basic/templates/index.html4
2 files changed, 8 insertions, 8 deletions
diff --git a/zurb-F5-basic/templates/base.html b/zurb-F5-basic/templates/base.html
index 6c306eb..aad0c7c 100644
--- a/zurb-F5-basic/templates/base.html
+++ b/zurb-F5-basic/templates/base.html
@@ -1,15 +1,15 @@
<!DOCTYPE html>
<head>
- <meta charset="utf-8" />
+ <meta charset="utf-8">
<!-- Set the viewport width to device width for mobile -->
- <meta name="viewport" content="width=device-width" />
+ <meta name="viewport" content="width=device-width">
<title>{% block title %}{{ SITENAME }}{%endblock%}</title>
- <link rel="stylesheet" href="{{ SITEURL }}/theme/css/normalize.css" />
- <link rel="stylesheet" href="{{ SITEURL }}/theme/css/foundation.css" />
- <link rel="stylesheet" href="{{ SITEURL }}/theme/css/style.css" />
- <link rel="stylesheet" href="{{ SITEURL }}/theme/css/pygments.css" />
+ <link rel="stylesheet" href="{{ SITEURL }}/theme/css/normalize.css">
+ <link rel="stylesheet" href="{{ SITEURL }}/theme/css/foundation.css">
+ <link rel="stylesheet" href="{{ SITEURL }}/theme/css/style.css">
+ <link rel="stylesheet" href="{{ SITEURL }}/theme/css/pygments.css">
<script src="{{ SITEURL }}/theme/js/modernizr.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
diff --git a/zurb-F5-basic/templates/index.html b/zurb-F5-basic/templates/index.html
index 4e9658e..7412638 100644
--- a/zurb-F5-basic/templates/index.html
+++ b/zurb-F5-basic/templates/index.html
@@ -19,7 +19,7 @@
{% endif %}
{% if loop.length > 1 %}
- <hr class="gradient"/>
+ <hr class="gradient">
{% endif %}
{# other items #}
@@ -29,7 +29,7 @@
<a href="{{ SITEURL }}/{{ article.url }}"><h3 class="article-title">{{ article.title }}</h3></a>
{% include 'article_infos.html' %}{{ article.summary }}{% include 'article_infos_bottom.html' %}{% include 'comments.html' %}
<a class="button radius secondary small right" href="{{ SITEURL }}/{{ article.url }}">Read More</a>
- <hr class="gradient"/>
+ <hr class="gradient">
</article>
{% endif %}