summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md1
-rw-r--r--exampleSite/content/about.md2
-rw-r--r--layouts/_default/single.html2
-rw-r--r--layouts/page/single.html2
-rw-r--r--layouts/partials/page/single.html2
5 files changed, 5 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5aab30d..a2737c0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Rename partial for Google Site Tag tagging/analytics
framework from `layouts/partials/scripts.html` to `layouts/partials/seo/ga.html`
- Use Google Site Tag tagging/analytics framework on production mode only
+- Rename `.Params.caption` to `.Params.pageTitle` Front Matter param
### Removed
diff --git a/exampleSite/content/about.md b/exampleSite/content/about.md
index 940879f..4ca2f94 100644
--- a/exampleSite/content/about.md
+++ b/exampleSite/content/about.md
@@ -1,6 +1,6 @@
---
title: About
-caption: Hello!
+pageTitle: Hello!
semanticType: about
---
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index f327cbc..9c4a966 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -3,7 +3,7 @@
<article class="{{ partial "post-class.html" . }}" role="document"{{ with .Params.lang }} lang="{{ . }}"{{ end }}>
<header>
<h1 class="text-title">
- {{ .Params.caption | default .Title }}
+ {{ .Params.pageTitle | default .Title }}
</h1>
<p class="byline">
{{ if in (slice "drama" "narrative" "poem") $postType }}
diff --git a/layouts/page/single.html b/layouts/page/single.html
index cb2faba..be12179 100644
--- a/layouts/page/single.html
+++ b/layouts/page/single.html
@@ -3,7 +3,7 @@
<article class="{{ partial "post-class.html" . }}" role="document"{{ with .Params.lang }} lang="{{ . }}"{{ end }}>
<header>
<h1 class="text-title">
- {{ .Params.caption | default .Title }}
+ {{ .Params.pageTitle | default .Title }}
</h1>
</header>
diff --git a/layouts/partials/page/single.html b/layouts/partials/page/single.html
index ca1180d..50d96cc 100644
--- a/layouts/partials/page/single.html
+++ b/layouts/partials/page/single.html
@@ -2,7 +2,7 @@
<article class="{{ partial "post-class.html" . }}" role="document" id="page-{{ .File.TranslationBaseName | lower }}"{{ with .Params.lang}} lang="{{ . }}"{{ end }}>
<header>
<h1 class="page-title">
- {{ .Params.caption | default .Title }}
+ {{ .Params.pageTitle | default .Title }}
</h1>
</header>