summaryrefslogtreecommitdiff
path: root/src/pyssg/plt/tag.html
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2022-12-27 02:59:59 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2022-12-27 02:59:59 -0600
commit48cabe1df739d1452e7ecc5164122a067157b057 (patch)
tree39aff6842941e6d7fc511c068d8dff51fb228ed9 /src/pyssg/plt/tag.html
parent369944746e3bf52b93919fe4b10262fa31f15a83 (diff)
add extra method for date conversionsv0.8.3
Diffstat (limited to 'src/pyssg/plt/tag.html')
-rw-r--r--src/pyssg/plt/tag.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pyssg/plt/tag.html b/src/pyssg/plt/tag.html
index 2dd7177..aff7982 100644
--- a/src/pyssg/plt/tag.html
+++ b/src/pyssg/plt/tag.html
@@ -13,13 +13,13 @@
<ul>
{%for p in tag_pages%}
{%if loop.previtem%}
- {%if loop.previtem.cdatetime.strftime(config['fmt']['list_sep_date']) != p.cdatetime.strftime(config['fmt']['list_sep_date'])%}
- <h3>{{p.cdatetime.strftime(config['fmt']['list_sep_date'])}}</h3>
+ {%if loop.previtem.cdate('list_sep_date') != p.cdate('list_sep_date')%}
+ <h3>{{p.cdate('list_sep_date')}}</h3>
{%endif%}
{%else%}
- <h3>{{p.cdatetime.strftime(config['fmt']['list_sep_date'])}}</h3>
+ <h3>{{p.cdate('list_sep_date')}}</h3>
{%endif%}
- <li>{{p.cdatetime.strftime(config['fmt']['list_date'])}} - <a href="{{p.url}}">{{p.title}}</a></li>
+ <li>{{p.cdate('list_date')}} - <a href="{{p.url}}">{{p.title}}</a></li>
{%endfor%}
</ul>
</body>