From e0e320c0ef3f2afa4fdaacd2c70f5ed2246efb20 Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Tue, 26 Apr 2022 22:00:13 +0100 Subject: [PATCH] Make dates semantic --- layouts/_default/li.html | 2 +- layouts/_default/single.html | 4 ++-- static/css/main.css | 7 ++++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/layouts/_default/li.html b/layouts/_default/li.html index b5af0d3..2e587a0 100644 --- a/layouts/_default/li.html +++ b/layouts/_default/li.html @@ -1,5 +1,5 @@

{{ .Title | markdownify }}

{{ .Description | markdownify }}

-

{{ .Date.Format "January 2006" }}

+
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 2775b0c..10ac41e 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -5,9 +5,9 @@ {{ .Description | markdownify }}
- {{ .Site.Params.AuthorName | markdownify }} + {{ .Site.Params.AuthorName | markdownify }} · - {{ .Date.Format "2 January 2006" }} +
{{ .Content }} diff --git a/static/css/main.css b/static/css/main.css index eb61344..a1ae754 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -37,9 +37,10 @@ a:visited { margin: 1rem 0 0rem 0; } -#articles .list-date { - font-size: 1.0rem; - text-transform: capitalize; +#articles time { + display: block; + font-size: 1.0rem; + text-transform: uppercase; } #articles h2 {