michal-sapka-me

Codebase for my homepage.
git clone git://vcs.sapka.me/michal-sapka-me
Log | Files | Refs

commit 56f154a2163804e58f1d89f723c743eb1f341e93
parent 1483ffedca544f5908340b33b5d29fee110800f9
Author: MichaƂ M. Sapka <michal@sapka.me>
Date:   Tue, 16 May 2023 12:35:51 +0200

chore: fix html violations on article page

Diffstat:
Mlayouts/_default/baseof.html | 2+-
Mlayouts/_default/single.html | 5++---
2 files changed, 3 insertions(+), 4 deletions(-)

diff --git 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 @@ -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") }}