diff options
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/single.gmi | 2 | ||||
| -rw-r--r-- | layouts/single.html | 2 |
2 files changed, 2 insertions, 2 deletions
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 @@ <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 |
