From 5608f224cc0519694ce5ed45fed49651f9c2c92f Mon Sep 17 00:00:00 2001 From: BernatBC Date: Tue, 17 Oct 2023 20:46:49 +0300 Subject: [PATCH] Justify content --- assets/styles/components/texts.scss | 2 ++ layouts/_default/single.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/styles/components/texts.scss b/assets/styles/components/texts.scss index 17734ac..72c727d 100644 --- a/assets/styles/components/texts.scss +++ b/assets/styles/components/texts.scss @@ -12,6 +12,8 @@ strong { p { color: get-light-color('text-color'); + text-align: justify; + text-justify: inter-word; } input { diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 6192952..c266631 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 }}