From 903211371ec1ea6354f3aff0ccb09baf3ed6d33a Mon Sep 17 00:00:00 2001
From: David Luevano Alvarado <david@luevano.xyz>
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/page.html | 6 +++---
 1 file changed, 3 insertions(+), 3 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 bd79b15..06746ba 100644
--- a/pyssg.xyz/plt/blog/page.html
+++ b/pyssg.xyz/plt/blog/page.html
@@ -38,9 +38,9 @@
   <h1>{{page.title}}</h1>
 
   <p>By {{', '.join(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}}
-- 
cgit v1.2.3-70-g09d2