tonybtw.com
tonybtw.com
https://git.tonybtw.com/tonybtw.com.git
git://git.tonybtw.com/tonybtw.com.git
Fixed date format
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">