From ed01d97ca07622a4adf87fc4e806c083c7d624b2ce463eef588149c86110077c Mon Sep 17 00:00:00 2001 From: Nicholas Johnson <> Date: Sat, 5 Sep 2026 00:00:00 +0000 Subject: Replace ".Name" with ".Title" for entry headings I'm not sure if this change makes a difference, but .Title seems to be the canonical option in this context. --- layouts/single.gmi | 2 +- layouts/single.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'layouts') diff --git a/layouts/single.gmi b/layouts/single.gmi index 1502830..eb04578 100644 --- a/layouts/single.gmi +++ b/layouts/single.gmi @@ -8,7 +8,7 @@ {{ end }} -# {{ .Name }} +# {{ .Title }} {{ $content := chomp (.RawContent) -}} {{ $scratch := newScratch -}} diff --git a/layouts/single.html b/layouts/single.html index 67029c0..eb860b0 100644 --- a/layouts/single.html +++ b/layouts/single.html @@ -6,7 +6,7 @@

{{ partial "pageinfo.html" . }}

{{- end }}
-

{{ .Name }}

+

{{ .Title }}

{{ chomp (.Content) }}
{{- end }} \ No newline at end of file -- cgit v1.2.3