add tag browser generation

This commit is contained in:
2024-01-02 18:22:56 +00:00
committed by alvierahman90
parent 29529cfd6a
commit 5bb40a57d1
6 changed files with 75 additions and 34 deletions
+1 -1
View File
@@ -40,7 +40,7 @@
<p class="smallText metadata"> tags: [
{% for tag in tags %}
<a href="/.tags/{{ tag }}.html">{{ tag }}</a>{% if loop.nextitem %},{% endif %}
<a href="/tags/{{ tag }}">{{ tag }}</a>{% if loop.nextitem %},{% endif %}
{% endfor %}
]</p>
<p class="smallText metadata">
+2 -3
View File
@@ -3,13 +3,12 @@
<meta charset="utf-8">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" />
<link rel="stylesheet" type="text/css" href="/css/styles.css" />
<title>{{ title }}</title>
<title>{{ post['content'] }}</title>
</head>
<body>
<div id="content">
<h1> {{ h1title }}</>
{{ post['content']|safe }}
<p>
These are my personal notes. Correctness is not guaranteed.
Browse <a href="/notes">here</a> or by tag <a href="/tags">here</a>.
</p>