diff options
author | Michał M. Sapka <michal@sapka.me> | 2023-05-16 12:35:51 +0200 |
---|---|---|
committer | Michał M. Sapka <michal@sapka.me> | 2023-05-16 12:35:51 +0200 |
commit | 56f154a2163804e58f1d89f723c743eb1f341e93 (patch) | |
tree | ccf8aeb6cf16bf87c4b3c1978a5da9ba2267ce31 /layouts | |
parent | 1483ffedca544f5908340b33b5d29fee110800f9 (diff) |
chore: fix html violations on article page
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/baseof.html | 2 | ||||
-rw-r--r-- | layouts/_default/single.html | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index aa899a6..dacda62 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -61,7 +61,7 @@ <a href="/category/bsd">BSD</a> <a href="/category/computer-history">Computer History</a> <a href="/category/star-trek">Star Trek</a> - <nav> + </nav> </nav> 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") }} |