diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/body-article-content.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/body-article-content.html b/layouts/partials/body-article-content.html index 7385db5..1de2b7c 100644 --- a/layouts/partials/body-article-content.html +++ b/layouts/partials/body-article-content.html @@ -12,7 +12,7 @@ {{if not .Params.layout }}
{{$pagetitle := .Title}}
{{if eq $pagetitle ""}}{{$pagetitle = .File.BaseFileName}}{{end}}
- <h1>{{.Section}}
+ <h1>{{.CurrentSection.Title}}
{{if .IsPage }}<span>{{$pagetitle}}</span>{{end}}
</h1>
{{ if gt (len .CurrentSection.Pages) 0}}
|