diff options
| author | Botond Hende <nettingman@gmail.com> | 2025-12-17 23:31:39 +0100 |
|---|---|---|
| committer | Botond Hende <nettingman@gmail.com> | 2025-12-17 23:31:39 +0100 |
| commit | d8995902414f2d2689b0bbdc6651730b1fe9bd31 (patch) | |
| tree | ef441bbc46ec5249b48de4286483d83d5c668ce7 /blog/templates/tag.html.j2 | |
| parent | b687ada7e80591e8d9e3da6690fc1c24aa0bdf21 (diff) | |
moved blog generation to separate folder
Diffstat (limited to 'blog/templates/tag.html.j2')
| -rw-r--r-- | blog/templates/tag.html.j2 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/blog/templates/tag.html.j2 b/blog/templates/tag.html.j2 new file mode 100644 index 0000000..093f41b --- /dev/null +++ b/blog/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 %} |
