summaryrefslogtreecommitdiff
path: root/templates/tag.html.j2
diff options
context:
space:
mode:
authorBotond Hende <nettingman@gmail.com>2024-09-04 20:05:51 +0200
committerBotond Hende <nettingman@gmail.com>2024-09-04 20:05:51 +0200
commitbea80928f694671010bc99493d31879df7d42836 (patch)
treeafb71282df8f01ce4b2dd87a292febe7ad8e3537 /templates/tag.html.j2
initial commit
Diffstat (limited to 'templates/tag.html.j2')
-rw-r--r--templates/tag.html.j218
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/tag.html.j2 b/templates/tag.html.j2
new file mode 100644
index 0000000..093f41b
--- /dev/null
+++ b/templates/tag.html.j2
@@ -0,0 +1,18 @@
+{% extends "base.html.j2" %}
+{% block page_title %}tags/{{ tag }} {{ super() }}{% endblock %}
+{% block page_title_short %}tags/{{ tag }}{% endblock %}
+{% block content %}
+<h1 class="first-element">tags/{{ tag }}/</h1>
+<p>{{ config.get_tag_prompt(tag, "find other_posts/ -type f -exec head {} +") }}</p>
+{% for post in posts %}
+<a href="{{ post.href }}" class="other_post dont-bother posts-listing-link {% if loop.last %}last-element{% endif%}">
+<div>
+<h3>{{ post.title() }}</h3>
+<p>{{ post.intro }}</p>
+</div>
+<div>
+<img src="{{ post.thumbnail }}" />
+</div>
+</a>
+{% endfor %}
+{% endblock %}