Page titles

This commit is contained in:
Matthias Portzel 2023-07-08 11:05:10 -07:00
parent 1cd5bbd96b
commit eb39affab6
7 changed files with 12 additions and 2 deletions

View File

@ -1 +0,0 @@
/Users/matthias/Programs/MatthiasPortzel.com-6-Ghost/paper-houses-theme

View File

@ -2,7 +2,8 @@
<html lang="{{@site.locale}}"> <html lang="{{@site.locale}}">
<head> <head>
{{!-- Basic meta - advanced meta is output with {ghost_head} below --}} {{!-- Basic meta - advanced meta is output with {ghost_head} below --}}
<title>{{meta_title}}</title> <title>{{{block "title"}}}</title>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="HandheldFriendly" content="True" /> <meta name="HandheldFriendly" content="True" />

View File

@ -1,5 +1,7 @@
{{!< _default }} {{!< _default }}
{{#contentFor "title"}}Matthias Portzel{{/contentFor}}
{{!-- Scope to load data from the page --}} {{!-- Scope to load data from the page --}}
{{#page}} {{#page}}

View File

@ -2,6 +2,8 @@
{{!-- The tag above means: insert everything in this file {{!-- The tag above means: insert everything in this file
into the {body} of the _default.hbs template --}} into the {body} of the _default.hbs template --}}
{{#contentFor "title"}}Matthias Portzel The Backrooms{{/contentFor}}
{{!-- The main content area --}} {{!-- The main content area --}}
<section> <section>
<h1>The Backroom</h1> <h1>The Backroom</h1>

View File

@ -1,5 +1,7 @@
{{!< _default }} {{!< _default }}
{{#contentFor "title"}}Matthias Portzel Ideas{{/contentFor}}
<section> <section>
<h1>Ideas</h1> <h1>Ideas</h1>

View File

@ -6,6 +6,8 @@ into the {body} tag of the default.hbs template --}}
{{#post}} {{#post}}
{{!-- Everything inside the #post block pulls data from the post --}} {{!-- Everything inside the #post block pulls data from the post --}}
{{#contentFor "title"}}Matthias Portzel {{title}}{{/contentFor}}
<section> <section>
<h1 class="article-title">{{title}}</h1> <h1 class="article-title">{{title}}</h1>
{{content}} {{content}}

View File

@ -1,5 +1,7 @@
{{!< _default}} {{!< _default}}
{{#contentFor "title"}}Matthias Portzel Projects{{/contentFor}}
<section> <section>
<h1>Projects</h1> <h1>Projects</h1>