diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2021-06-04 23:50:58 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2021-06-04 23:50:58 -0600 |
commit | b171347f739b2ada7960ad50bcba47e898d890d2 (patch) | |
tree | c88d6c3cdfb39b7e8e7cb5ec5952160cd4cf9911 /blog/plt/tag.html | |
parent | febe3173b7430266c36508927f3535c431f0aa8b (diff) |
reflect changes on updated pyssg using jinja templates
Diffstat (limited to 'blog/plt/tag.html')
-rw-r--r-- | blog/plt/tag.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/blog/plt/tag.html b/blog/plt/tag.html new file mode 100644 index 0000000..50b221f --- /dev/null +++ b/blog/plt/tag.html @@ -0,0 +1,18 @@ +{%extends "base.html"%} +{%block content%} + <h1>Posts filtered by {{tag[0]}}</h1> + + <h2>Articles</h2> + <ul> + {%for p in tag_pages%} + {%if loop.previtem%} + {%if loop.previtem.cdate_list_sep !=p.cdate_list_sep%} + <h3>{{p.cdate_list_sep}}</h3> + {%endif%} + {%else%} + <h3>{{p.cdate_list_sep}}</h3> + {%endif%} + <li>{{p.cdate_list}} - <a href="{{p.url}}">{{p.title}}</a></li> + {%endfor%} + </ul> +{%endblock content%} |