From 632a5422b665a2bf91fa9baeb709a9eb1b5f9773eeec9c2f3a9d22876e53f8be Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Fri, 25 Aug 2023 00:00:00 +0000 Subject: Prefer right-aligned whitespace elimination --- layouts/partials/head.html | 16 ++++++++-------- layouts/partials/metadata.gmi | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'layouts/partials') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index b32f8ea..34a6ead 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,18 +1,18 @@ + {{- if $.Site.Params.description }} - {{- end }} - {{- if $.Site.Params.keywords }} + {{- end -}} + {{ if $.Site.Params.keywords }} - {{- end }} - - {{- if .Site.Params.custom_css }} - {{- range .Site.Params.custom_css }} + {{- end -}} + {{ if .Site.Params.custom_css -}} + {{ range .Site.Params.custom_css }} - {{- end }} - {{- else }} + {{- end -}} + {{ else }} {{- end }} {{ .Title }} diff --git a/layouts/partials/metadata.gmi b/layouts/partials/metadata.gmi index 1f8f513..00d78cd 100644 --- a/layouts/partials/metadata.gmi +++ b/layouts/partials/metadata.gmi @@ -1,2 +1,2 @@ -{{- partial "pageinfo.gmi" . }} +{{ partial "pageinfo.gmi" . }} => {{ .RelPermalink | replaceRE `(?m)index.gmi` "" }} {{ emojify ":link:" | safeHTML }} {{ .Title | safeHTML }} \ No newline at end of file -- cgit v1.2.3