summaryrefslogtreecommitdiff
path: root/blog/plt/tag_list.html
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2021-06-05 01:21:59 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2021-06-05 01:21:59 -0600
commit0e91926ff40b3df1914375165633bb703c176558 (patch)
treee324842456b2651f5bf384f9c91222de975c3f03 /blog/plt/tag_list.html
parentb171347f739b2ada7960ad50bcba47e898d890d2 (diff)
simplify templates
Diffstat (limited to 'blog/plt/tag_list.html')
-rw-r--r--blog/plt/tag_list.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/blog/plt/tag_list.html b/blog/plt/tag_list.html
new file mode 100644
index 0000000..2dfb70c
--- /dev/null
+++ b/blog/plt/tag_list.html
@@ -0,0 +1,9 @@
+{%macro print(tags)%}
+<div class="article-tags">
+ <p>Tags:
+ {%for t in tags-%}
+ <a href="{{t[1]}}">{{t[0]}}</a>{{", " if not loop.last else ""}}
+ {%-endfor%}
+ </p>
+</div>
+{%endmacro%}