summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2024-04-26 00:32:57 -0600
committerNavan Chauhan <navanchauhan@gmail.com>2024-04-26 00:32:57 -0600
commitd1624e73c5077d35bacd37138a6c031f2763ee62 (patch)
treeba47552862e6c906b63fbe01dfd5b366ae372950 /templates
parent6844c234cde69ee356168bb3dcb7d69fa4e8a74d (diff)
pass w3c html4 validation
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html42
-rw-r--r--templates/post.html4
-rw-r--r--templates/section.html3
3 files changed, 25 insertions, 24 deletions
diff --git a/templates/base.html b/templates/base.html
index 1a3e938..db06398 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -13,33 +13,33 @@
<link rel="stylesheet" href="https://unpkg.com/latex.css/style.min.css" />
-->
- <link rel="stylesheet" href="/assets/c-hyde.css" />
+ <link rel="stylesheet" href="/assets/c-hyde.css">
- <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">
+ <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Abril+Fatface">
+ <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700">
- <link rel="stylesheet" href="/assets/main.css" />
- <meta charset="utf-8">
+ <link rel="stylesheet" href="/assets/main.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="og:site_name" content="Navan Chauhan" />
- <link rel="canonical" href="https://web.navan.dev{% block canURL %}{% endblock %}" />
- <meta name="twitter:url" content="https://web.navan.dev{% block twURL %}{% endblock %}" />
- <meta name="og:url" content="https://web.navan.dev{% block ogURL %}{% endblock %}" />
- <meta name="twitter:title" content="{% block twittertitle %}Hey - Home{% endblock %}" />
- <meta name="og:title" content="{% block ogtitle %}Hey - Home{% endblock %}" />
- <meta name="description" content="{% block description %}code snippets, long-form rants, and tutorials{% endblock %}" />
- <meta name="twitter:description" content="{% block twitterdescription %}code snippets, long-form rants, and tutorials{% endblock %}" />
- <meta name="og:description" content="{% block ogdescription %}code snippets, long-form rants, and tutorials{% endblock %}" />
- <meta name="twitter:card" content="{% block twitter2description %}summary_large_image{% endblock %}" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <link rel="shortcut icon" href="/images/favicon.png" type="image/png" />
- <link href="/feed.rss" type="application/atom+xml" rel="alternate" title="Sitewide Atom feed" />
- <meta name="twitter:image" content="{% block twimage %}https://web.navan.dev/images/logo.png{% endblock %}" />
- <meta name="og:image" content="{% block ogimage %}https://web.navan.dev/images/logo.png{% endblock %}" />
- <meta name="google-site-verification" content="LVeSZxz-QskhbEjHxOi7-BM5dDxTg53x2TwrjFxfL0k" />
+ <meta name="og:site_name" content="Navan Chauhan">
+ <link rel="canonical" href="https://web.navan.dev{% block canURL %}{% endblock %}">
+ <meta name="twitter:url" content="https://web.navan.dev{% block twURL %}{% endblock %}">
+ <meta name="og:url" content="https://web.navan.dev{% block ogURL %}{% endblock %}">
+ <meta name="twitter:title" content="{% block twittertitle %}Hey - Home{% endblock %}">
+ <meta name="og:title" content="{% block ogtitle %}Hey - Home{% endblock %}">
+ <meta name="description" content="{% block description %}code snippets, long-form rants, and tutorials{% endblock %}">
+ <meta name="twitter:description" content="{% block twitterdescription %}code snippets, long-form rants, and tutorials{% endblock %}">
+ <meta name="og:description" content="{% block ogdescription %}code snippets, long-form rants, and tutorials{% endblock %}">
+ <meta name="twitter:card" content="{% block twitter2description %}summary_large_image{% endblock %}">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <link rel="shortcut icon" href="/images/favicon.png" type="image/png">
+ <link href="/feed.rss" type="application/atom+xml" rel="alternate" title="Sitewide Atom feed">
+ <meta name="twitter:image" content="{% block twimage %}https://web.navan.dev/images/logo.png{% endblock %}">
+ <meta name="og:image" content="{% block ogimage %}https://web.navan.dev/images/logo.png{% endblock %}">
+ <meta name="google-site-verification" content="LVeSZxz-QskhbEjHxOi7-BM5dDxTg53x2TwrjFxfL0k">
<script data-goatcounter="https://navanchauhan.goatcounter.com/count"
async src="//gc.zgo.at/count.js"></script>
<script defer data-domain="web.navan.dev" src="https://plausible.io/js/plausible.js"></script>
- <link rel="manifest" href="/manifest.json" />
+ <link rel="manifest" href="/manifest.json">
{% endblock %}
</head>
<body class="theme-base-0d">
diff --git a/templates/post.html b/templates/post.html
index 5bb2b97..b2612eb 100644
--- a/templates/post.html
+++ b/templates/post.html
@@ -20,7 +20,7 @@
<blockquote>If you have scrolled this far, consider subscribing to my mailing list <a href="https://listmonk.navan.dev/subscription/form">here.</a> You can subscribe to either a specific type of post you are interested in, or subscribe to everything with the "Everything" list.</blockquote>
<script data-isso="https://comments.navan.dev/"
src="https://comments.navan.dev/js/embed.min.js"></script>
- <section id="isso-thread">
+ <div id="isso-thread">
<noscript>Javascript needs to be activated to view comments.</noscript>
- </section>
+ </div>
{% endblock %}
diff --git a/templates/section.html b/templates/section.html
index f713ad8..8c3e8cc 100644
--- a/templates/section.html
+++ b/templates/section.html
@@ -9,7 +9,7 @@
<ul>
{% for post in posts %}
- <li><a href="{{post.link}}">{{ post.title }}</a></li>
+ <li><a href="{{post.link}}">{{ post.title }}</a>
<ul>
<li>{{ post.description}}</li>
<li>Published On: {{post.date}}</li>
@@ -18,6 +18,7 @@
<a href='/tags/{{tag}}.html'>{{ tag }}</a>{{ ", " if not loop.last else "" }}
{% endfor %}
</ul>
+ </li>
{% endfor %}
</ul>