From 903211371ec1ea6354f3aff0ccb09baf3ed6d33a Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Tue, 27 Dec 2022 02:14:36 -0600 Subject: remove unnecessary variables for page object removed some of the unnecessary variables for dates on the page object, as well as from the mandatory config --- pyssg.xyz/plt/blog/index.html | 8 ++++---- pyssg.xyz/plt/blog/page.html | 6 +++--- pyssg.xyz/plt/blog/tag.html | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'pyssg.xyz/plt') diff --git a/pyssg.xyz/plt/blog/index.html b/pyssg.xyz/plt/blog/index.html index 9086232..057cd79 100644 --- a/pyssg.xyz/plt/blog/index.html +++ b/pyssg.xyz/plt/blog/index.html @@ -48,13 +48,13 @@ {%endblock body_content%} diff --git a/pyssg.xyz/plt/blog/page.html b/pyssg.xyz/plt/blog/page.html index bd79b15..06746ba 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.cdate}}

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

Modified: {{page.mdate}}

+

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

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

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

{%endif%} {{page.content}} diff --git a/pyssg.xyz/plt/blog/tag.html b/pyssg.xyz/plt/blog/tag.html index 53499b1..5b05d7f 100644 --- a/pyssg.xyz/plt/blog/tag.html +++ b/pyssg.xyz/plt/blog/tag.html @@ -42,13 +42,13 @@ {%endblock body_content%} -- cgit v1.2.3-54-g00ecf