diff options
author | Blaise Thompson <blaise@untzag.com> | 2021-07-08 16:42:51 -0500 |
---|---|---|
committer | Blaise Thompson <blaise@untzag.com> | 2021-07-08 16:42:51 -0500 |
commit | 6fa3d6d03c4f0731cf388166bacebbf2e062fd1c (patch) | |
tree | 66c093d15434f83bad906e2a6e0735d6df27311c /templates/tags.html | |
parent | 7644f77b2b94bf3acf5793ba66e744daa67e4e9d (diff) |
refactor with actual building
Diffstat (limited to 'templates/tags.html')
-rw-r--r-- | templates/tags.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/templates/tags.html b/templates/tags.html new file mode 100644 index 0000000..e788ce5 --- /dev/null +++ b/templates/tags.html @@ -0,0 +1,30 @@ +{% include "header.html" %} + +<h1> +<a href=http://blaise.zone>blaise</a>-<a href="../">blog</a>/tags +</h1> + +<hr> + +{% for tag in tags %} + +<h1 id={{ tag }}><a href="#{{ tag }}">{{ tag }}</a></h1> + +<p> +{% for post in posts %} + {% if tag in post.tags %} + {{ post.date }} + <a href=./{{ post.path }}>{{ post.title }}</a> + {% for tag_ in post.tags %} + {% if tag_ != tag %} + <a href="./tags/#{{ tag_ }}" style="color:#b294bb;font-style:italic;">#{{ tag_ }}</a> + {% endif %} + {% endfor %} + <br> + {% endif %} +{% endfor %} +</p> + +{% endfor %} + +{% include "footer.html" %} |