tonybtw.com

tonybtw.com

https://git.tonybtw.com/tonybtw.com.git git://git.tonybtw.com/tonybtw.com.git

Fixed date format

Commit
f30aab7ea450b3173e762bb8200a859a5ad1addf
Parent
32f4d1a
Author
tonybanters <tonybanters@gmail.com>
Date
2025-08-29 07:55:54

Diff

diff --git a/layouts/tutorial/single.html b/layouts/tutorial/single.html
index 7dc8032..78afc80 100644
--- a/layouts/tutorial/single.html
+++ b/layouts/tutorial/single.html
@@ -20,7 +20,10 @@
         <div class="column" style="flex: 1;">
           <article class="site-post">
             <h1 class="site-post-title center">{{ .Title }}</h1>
-            {{ with .Params.date }}<p class="site-post-meta center">{{ . }}</p>{{ end }}
+            {{ with .Params.date }}
+              <p class="site-post-meta center">{{ time.Format "01/02/2006" . }}</p>
+            {{ end }}
+
 
             {{ with .Params.image }}
               <div class="post-hero">