diff options
Diffstat (limited to 'layouts/single.gmi')
| -rw-r--r-- | layouts/single.gmi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/single.gmi b/layouts/single.gmi index 2cee33d..065e057 100644 --- a/layouts/single.gmi +++ b/layouts/single.gmi @@ -12,7 +12,7 @@ => {{ .RelPermalink }} {{ emojify ":link:" }} {{ i18n "downloadAudio" $.Title }} {{- end }}{{ end }} -{{ $content := chomp (.RawContent) -}} +{{ $content := strings.Trim .RawContent "\r\n" -}} {{ $scratch := newScratch -}} {{/* if pageinfo exists or content begins with a heading, add an extra newline */ -}} |
