From 48cabe1df739d1452e7ecc5164122a067157b057 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Tue, 27 Dec 2022 02:59:59 -0600 Subject: add extra method for date conversions --- pyssg.xyz/plt/blog/page.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyssg.xyz/plt/blog/page.html') diff --git a/pyssg.xyz/plt/blog/page.html b/pyssg.xyz/plt/blog/page.html index 06746ba..510129b 100644 --- a/pyssg.xyz/plt/blog/page.html +++ b/pyssg.xyz/plt/blog/page.html @@ -38,9 +38,9 @@

{{page.title}}

By {{', '.join(page.author)}}

-

Created: {{page.cdatetime.strftime(config['fmt']['date'])}}

+

Created: {{page.cdate('date')}}

{%if page.mdatetime is not none%} -

Modified: {{page.mdatetime.strftime(config['fmt']['date'])}}

+

Modified: {{page.mdate('date')}}

{%endif%} {{page.content}} -- cgit v1.2.3-70-g09d2