diff --git a/themes/datacoop2020/layouts/_default/list.html b/themes/datacoop2020/layouts/_default/list.html index 54925c5..f68d2f8 100644 --- a/themes/datacoop2020/layouts/_default/list.html +++ b/themes/datacoop2020/layouts/_default/list.html @@ -8,10 +8,7 @@ {{ range $pages.ByPublishDate.Reverse }}
{{ .Title | markdownify }}
- {{ $customDateFormat := "January 2, 2006" }}
- {{ with .Site.Params.customDateFormat }}{{ $customDateFormat = . }}{{ end }}
-
- {{ .PublishDate.Format $customDateFormat }}
+ {{ .PublishDate | time.Format ":date_medium" }}
{{ partial "tags" . }}
{{ if eq .Site.Params.showPostSummary true }}
diff --git a/themes/datacoop2020/layouts/blog/single.html b/themes/datacoop2020/layouts/blog/single.html
new file mode 100644
index 0000000..d376bbd
--- /dev/null
+++ b/themes/datacoop2020/layouts/blog/single.html
@@ -0,0 +1,11 @@
+{{- define "main" -}}
+
+