summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicholasjohnson.ch>2023-11-03 00:00:00 +0000
committerNicholas Johnson <nick@nicholasjohnson.ch>2023-11-03 00:00:00 +0000
commit4d7ee5a0237665126e10990af8e49b8dcd19a717cdf2dcaa725bbc7c53e34879 (patch)
tree54d88d37bae48c04914ec7fbb8248bda3772f74646b56f56730acef9e7b17201 /layouts/_default
parentac7486160b8a322abfa14fbe97cae4a6a1b7be81a7c9f80dfe3d7e43d2e8b429 (diff)
downloadhugo-theme-journal-1.0.8.tar.gz
hugo-theme-journal-1.0.8.zip
Make layout spacing consistentv1.0.8
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/single.gmi4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/single.gmi b/layouts/_default/single.gmi
index b566ff3..93c1439 100644
--- a/layouts/_default/single.gmi
+++ b/layouts/_default/single.gmi
@@ -25,8 +25,8 @@
{{ range $chunks -}}
{{ $above_pre := index . 1 -}}
- {{ $pre := index . 2 -}}
- {{ $below_pre := index . 3 -}}
+ {{ $pre := index . 2 -}}
+ {{ $below_pre := index . 3 -}}
{{/* mux regex matches above and below preformatted text for rendering (the matches are mutually exclusive) */ -}}
{{ $rendered_text := print $above_pre $below_pre -}}