diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2022-07-23 19:10:04 +0100 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2022-07-23 19:10:04 +0100 |
commit | d6928d58e83af7ec624894956dd950b47c28f4a4 (patch) | |
tree | 9ef1f32d0c3d23805306d0b54c86da4535699e14 /themes/problematic | |
parent | cfa95961c49383469869bb9c868e8a9ef27bbd19 (diff) |
update
Diffstat (limited to 'themes/problematic')
-rw-r--r-- | themes/problematic/layouts/_default/single.html | 1 | ||||
-rw-r--r-- | themes/problematic/layouts/partials/posts.html | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/themes/problematic/layouts/_default/single.html b/themes/problematic/layouts/_default/single.html index 4142125..8da12c7 100644 --- a/themes/problematic/layouts/_default/single.html +++ b/themes/problematic/layouts/_default/single.html @@ -7,5 +7,6 @@ </style> <h2 class="title">{{ .Title }}</h2> +{{ .Date.Format "Monday, 2 January 2006" }} {{ .Content }} {{ end }} diff --git a/themes/problematic/layouts/partials/posts.html b/themes/problematic/layouts/partials/posts.html index c65664e..b1c8c82 100644 --- a/themes/problematic/layouts/partials/posts.html +++ b/themes/problematic/layouts/partials/posts.html @@ -8,7 +8,7 @@ {{ range where (where site.RegularPages "Section" "blog") ".Params.categories" "intersect" (slice ($key |title)) }} - <li><a href="{{ .Permalink }}">{{ .Title }}</a></li> + <li><a href="{{ .Permalink }}">{{ .Title }}</a> ({{ .Date.Format "2 Jan 06" }})</li> {{ end }} </ul> |