Improve page titles

This commit is contained in:
Devon Campbell 2023-07-16 13:22:50 -05:00
commit 91b213413e
4 changed files with 5 additions and 2 deletions

View file

@ -10,7 +10,7 @@ layout: base.njk
<li><a href="/feed.xml">RSS</a></li> <li><a href="/feed.xml">RSS</a></li>
</ul> </ul>
</nav> </nav>
<h1>{{ title }}</h1> <h1>{{ onpageTitle or title }}</h1>
<article class="bg glow"> <article class="bg glow">
{{ content | safe }} {{ content | safe }}
</article> </article>

View file

@ -1,5 +1,6 @@
--- ---
title: Devon's Blog title: Devon's Blog
onpageTitle: Blog
layout: article.njk layout: article.njk
pagination: pagination:
data: collections.post data: collections.post

View file

@ -1,5 +1,6 @@
--- ---
title: Home title: Devon.LoL 😆
onpageTitle: Home
layout: article.njk layout: article.njk
date: git Last Modified date: git Last Modified
--- ---

View file

@ -1,5 +1,6 @@
--- ---
title: Devon's Lists title: Devon's Lists
onpageTitle: Lists
layout: article.njk layout: article.njk
pagination: pagination:
data: collections.list data: collections.list