From 29820780697bd5b8454ef6a2f9381a1d51c8073b Mon Sep 17 00:00:00 2001 From: Xavi Date: Sat, 18 Feb 2023 12:49:44 -0800 Subject: [PATCH] Added Description and Date Format --- xavishobbies/archetypes/default.md | 1 - xavishobbies/themes/xavis/layouts/_default/list.html | 2 +- xavishobbies/themes/xavis/layouts/_default/single.html | 3 ++- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xavishobbies/archetypes/default.md b/xavishobbies/archetypes/default.md index 00e77bd..7ce2f1a 100644 --- a/xavishobbies/archetypes/default.md +++ b/xavishobbies/archetypes/default.md @@ -1,6 +1,5 @@ --- title: "{{ replace .Name "-" " " | title }}" date: {{ .Date }} -draft: true --- diff --git a/xavishobbies/themes/xavis/layouts/_default/list.html b/xavishobbies/themes/xavis/layouts/_default/list.html index 8af3f83..6b355da 100644 --- a/xavishobbies/themes/xavis/layouts/_default/list.html +++ b/xavishobbies/themes/xavis/layouts/_default/list.html @@ -7,7 +7,7 @@

{{ .Title }}

-
{{ .Lastmod }}
+
{{ .Lastmod.Format "2006-01-02" }} - {{ .Description }}
{{ .Content }} diff --git a/xavishobbies/themes/xavis/layouts/_default/single.html b/xavishobbies/themes/xavis/layouts/_default/single.html index 47b212a..5b95c5f 100644 --- a/xavishobbies/themes/xavis/layouts/_default/single.html +++ b/xavishobbies/themes/xavis/layouts/_default/single.html @@ -2,7 +2,8 @@

{{ .Title }}

-
{{ .Lastmod }}
+
{{ .Lastmod.Format "2006-01-02" }} - {{ .Description }}
+

{{ .Content }}