From 1981ffd1b16b27ec0d715fc1e0b05ea94c3e7c5b Mon Sep 17 00:00:00 2001 From: BernatBC Date: Tue, 17 Oct 2023 22:26:06 +0300 Subject: [PATCH] Remove inline css --- assets/styles/layouts/single.scss | 4 ++++ layouts/_default/single.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/assets/styles/layouts/single.scss b/assets/styles/layouts/single.scss index b878ceb..f5aecf4 100644 --- a/assets/styles/layouts/single.scss +++ b/assets/styles/layouts/single.scss @@ -49,6 +49,10 @@ body.kind-page { margin-top: 0px; } + p { + text-align: center; + } + img { height: 120px; width: 120px; diff --git a/layouts/_default/single.html b/layouts/_default/single.html index c266631..6192952 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -39,7 +39,7 @@
Author Image
{{ partial "helpers/get-author-name.html" . }}
-

{{ .Page.Date | time.Format ":date_full" }}{{ if site.Params.features.readingTime }} | {{ .ReadingTime }} minute{{ if (ne .ReadingTime 1) }}s{{ end }}{{ end }}

+

{{ .Page.Date | time.Format ":date_full" }}{{ if site.Params.features.readingTime }} | {{ .ReadingTime }} minute{{ if (ne .ReadingTime 1) }}s{{ end }}{{ end }}