Features Front MatterMay 30, 2023 at 4:50 AM Edit on GitHub
To customize your pages even further, you can add a Front Matter to your files.
Front Matter is a block you add at the top of your file and looks like this:
--- title: Hallo Welt keywords: "Hallo, Hello, Welt, World, Erde, Earth" author: German Daux.io Team date: 12th December 1984 ---
Changing the title
If your file is named “Hello_World_de.md” and your front matter is the one displayed above, you will get a page named “Hallo Welt”
Search Engine Optimization
For a better SEO experience you can change the
author meta tags.
You can then access this information in each
$content->getAttributes() or with
$page['attributes'] in a template.