diff options
| author | Nicholas Johnson <> | 2026-09-05 00:00:00 +0000 |
|---|---|---|
| committer | Nicholas Johnson <> | 2026-09-06 00:00:00 +0000 |
| commit | ed01d97ca07622a4adf87fc4e806c083c7d624b2ce463eef588149c86110077c (patch) | |
| tree | c6ad6ff44c7257dbc8abec2b373702a02e8d8aba4676035a712ce3c047184b99 /layouts/single.html | |
| parent | fe01d0e7afd53ef499567ff8bce4f2ea0b2355e6c9cac4a7ed2647fa749904d3 (diff) | |
| download | hugo-theme-journal-ed01d97ca07622a4adf87fc4e806c083c7d624b2ce463eef588149c86110077c.tar.gz hugo-theme-journal-ed01d97ca07622a4adf87fc4e806c083c7d624b2ce463eef588149c86110077c.zip | |
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.
Diffstat (limited to 'layouts/single.html')
| -rw-r--r-- | layouts/single.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ <p>{{ partial "pageinfo.html" . }}</p> {{- end }} <main class="main"> - <h1 id="{{ .File.TranslationBaseName }}">{{ .Name }}</h1> + <h1 id="{{ .File.TranslationBaseName }}">{{ .Title }}</h1> {{ chomp (.Content) }} </main> {{- end }}
\ No newline at end of file |
