summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authorMichał M. Sapka <michal@sapka.me>2023-05-16 12:35:51 +0200
committerMichał M. Sapka <michal@sapka.me>2023-05-16 12:35:51 +0200
commit56f154a2163804e58f1d89f723c743eb1f341e93 (patch)
treeccf8aeb6cf16bf87c4b3c1978a5da9ba2267ce31 /layouts/_default/single.html
parent1483ffedca544f5908340b33b5d29fee110800f9 (diff)
chore: fix html violations on article page
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 1ef78b3..5c5b389 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -4,13 +4,12 @@
<h2>{{ .Page.Title }}</h2>
</a>
{{- if not (eq .Page.Type "special") }}
- <time datetime="{{.PublishDate }}">
+ <time datetime="{{.PublishDate.Format "2006-01-02" }}">
{{ .PublishDate.Format "January 2, 2006" }}
</time>
{{- end }}
- <div>
+
{{ .Page.Content }}
- </div>
{{- if not (in .Params.category "pages") }}