diff options
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/page/single.html (renamed from layouts/pages/single.html) | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/pages/single.html b/layouts/page/single.html index 8e67367..03c488a 100644 --- a/layouts/pages/single.html +++ b/layouts/page/single.html @@ -1,6 +1,7 @@ {{ define "main" }} <article class="page"> - <h1 class="page-title">{{ .Title }}</h1> + <h1 class="page-title">{{ .Params.caption | default .Title }}</h1> {{ .Content }} </article> {{ end }} + |
