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 --- src/pyssg/plt/page.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/pyssg/plt/page.html') diff --git a/src/pyssg/plt/page.html b/src/pyssg/plt/page.html index d7f5e43..08e92f1 100644 --- a/src/pyssg/plt/page.html +++ b/src/pyssg/plt/page.html @@ -8,9 +8,9 @@

{{page.title}}

By {{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}} -- cgit v1.2.3-54-g00ecf