From 8834ee3951115302a6293a48d765a78bbb130d80 Mon Sep 17 00:00:00 2001 From: Luca Date: Sat, 28 Nov 2020 00:57:00 +0100 Subject: [PATCH] Show news date in italics --- assets/style.scss | 4 ++++ layouts/news/single.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/assets/style.scss b/assets/style.scss index 6cc062c..7807fe4 100644 --- a/assets/style.scss +++ b/assets/style.scss @@ -132,3 +132,7 @@ ul { } } } + +.date { + font-style: italic; +} diff --git a/layouts/news/single.html b/layouts/news/single.html index fceef5c..ba7f81e 100644 --- a/layouts/news/single.html +++ b/layouts/news/single.html @@ -1,7 +1,7 @@ {{ define "main" }}

{{ .Title }}

-

{{ .Date.Format "2006-01-02 15:04" }}

+

{{ .Date.Format "2006-01-02 15:04" }}

{{ .Content }}
{{ end }}