Home

Christian Külker

2020-04-26

The home feature is basically a feature to define the link home. This will set two variables inside the template depending on the locale: {{home_text}} and {{home_url}}. Themes are encouraged to use this over href="{{cfg.site.url}}" and {{cfg.site.title}} as this will only link back to the default language/ locale. It is strongly recommended to use this feature, also because Pankyll is using it to calculate a template {{title}} value. (See feature title)

home:
    en_US:
        text: Pankyll Themes  # home_text
        url: en_US            # home_url
    de_DE:
        text: Pankyll Layouts
        url: de_DE
    ja_JP:
        text: パンキュル セーム
        url: ja_JP

  • Home