From d6513a636960f1a26d950de1433c174e95799f0557f54057ff6fbad541e013cc Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Sun, 7 Aug 2022 00:00:00 +0000 Subject: Add line break between "return to homepage" button and content --- layouts/_default/single.gmi | 1 + 1 file changed, 1 insertion(+) (limited to 'layouts/_default/single.gmi') diff --git a/layouts/_default/single.gmi b/layouts/_default/single.gmi index 74fc0fb..1347179 100644 --- a/layouts/_default/single.gmi +++ b/layouts/_default/single.gmi @@ -1,6 +1,7 @@ {{ define "main" }} => ./{{ replaceRE ".+?/" "../" .RelPermalink | safeURL }} Return to homepage + {{ $content := .RawContent }} {{- $content = $content | replaceRE `\n\[(.+?)\]\((.+?)\)` "\n=> $2 $1" }} {{- $content = $content | replaceRE `\*{3}(.+?)\*{3}|\*{2}(.+?)\*{2}|\*{1}(.+?)\*{1}` "$1$2$3$4$5$6" }} -- cgit v1.2.3