The title feature is provided by Pankyll in accordance to the configuration in cfg.yaml
. The feature provides the variable title
to be used in templates like {{title}}
. The title value is calculated as follows:
title
is set in the front matter use this as title.home.$LOCALE.text
is defined via the home feature in cfg.yaml
for the locale of the page, use it as a title.site.title
from cfg.yaml
as a fallback.title: Pankyll
# 4. Feature: Home
home:
en_US:
text: Pankyll # home_text
url: en_US # home_url
de_DE:
text: Pankyll
url: de_DE
site:
title: Pankyll