diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2022-12-27 02:14:36 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2022-12-27 02:14:36 -0600 |
commit | 903211371ec1ea6354f3aff0ccb09baf3ed6d33a (patch) | |
tree | 9658cd4f9b15ef8852add3bb818fedd2d9e6516d /src/pyssg/plt/page.html | |
parent | 6ec12d94c1b25883e3588afcadd686d3dc157675 (diff) |
remove unnecessary variables for page objectv0.8.2
removed some of the unnecessary variables for dates on the page object, as well as from the mandatory config
Diffstat (limited to 'src/pyssg/plt/page.html')
-rw-r--r-- | src/pyssg/plt/page.html | 6 |
1 files changed, 3 insertions, 3 deletions
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 @@ <body> <h1>{{page.title}}</h1> <p>By {{page.author}}</p> - <p>Created: {{page.cdate}}</p> - {%if page.mdate is not none%} - <p>Modified: {{page.mdate}}</p> + <p>Created: {{page.cdatetime.strftime(config['fmt']['date'])}}</p> + {%if page.mdatetime is not none%} + <p>Modified: {{page.mdatetime.strftime(config['fmt']['date'])}}</p> {%endif%} {{page.content}} |