Meta Information
Plank Title
Th' title
will be used 'n th' head'n an' meta informat'n o' yer HTML.
A plank without a title be treated as if hidden=true
has been set.
+++
title = 'Example Title'
+++
---
title: Example Title
---
{
"title": "Example Title"
}
Plank Descript'n
Th' descript'n
be used fer generat'n HTML meta informat'n, 'n th' children shortcode an' 'n social media meta informat'n.
If not set, th' set value o' yer site’s hugo.toml be used fer th' HTML meta informat'n an' social media meta informat'n. It appears empty fer th' children shortcode.
+++
descript'n = 'Some lenghty example description'
+++
---
descript'n: Some lenghty example descript'n
---
{
"description": "Some lenghty example description"
}
Social Media Images
Th' theme adds social media meta tags includ'n feature images fer th' Open Graph protocol an' Twitter Cards t' yer ship. These be configured as mentioned 'n th' linked Cap'n Hugo docs.
+++
images = ['images/hero.png']
+++
---
images:
- images/hero.png
---
{
"images": [
"images/hero.png"
]
}
Hidden
Front Matter Ye can hide yer planks from th' menu by sett'n hidden=true
.
Menu For Cap'n Hugo menus, ye have t' set params.hidden=true
instead.
See how ye can further configure visibility throughout yer ship.
+++
hidden = true
+++
---
hidden: true
---
{
"hidden": true
}
Add Ay'con t' th' Title Head'n
Front Matter In th' plank front matter, add a headingPre
t' insert any HTML code before th' title head'n. Ye can also set headingPost
t' insert HTML code after th' title head'n.
Ye also may want t' apply further CSS 'n this case.
+++
headingPre = '<i class="fab fa-github"></i> '
+++
---
headingPre: '<i class="fab fa-github"></i> '
---
{
"headingPre": "\u003ci class=\"fab fa-github\"\u003e\u003c/i\u003e "
}
Footer Informat'n
Front Matter If ye use th' default layouts/partials/content-footer.html
be not overridden by ye, it will display author'n informat'n, namely
AuthorName
if GitInfo be active, otherwiseLastModifierDisplayName
front matterAuthorEmail
if GitInfo be active, otherwiseLastModifierEmail
front matterAuthorDate
if GitInfo be active, otherwise Hugo’sdate
front matter
+++
LastModifierDisplayName = 'Santa Claus'
LastModifierEmail = 'santa@example.com'
date = 2000-12-24T00:00:00-12:00
+++
---
LastModifierDisplayName: Santa Claus
LastModifierEmail: santa@example.com
date: 2000-12-24T00:00:00-12:00
---
{
"LastModifierDisplayName": "Santa Claus",
"LastModifierEmail": "santa@example.com",
"date": "2000-12-24T00:00:00-12:00"
}