Front Matter is a component that permits to replicate the metadata into your page.
This functionality is used when you want to:
It borrows its name from the front matter book
The frontmatter is the source of truth for ComboStrap. Any value in the frontmatter will take precedence over the raw metadata or internal database metadata.
A frontmatter is a block located at the start of your page that:
Example:
---json
{
"name":"Short Name",
"title":"My Big title in the Search Engine Result Pages",
"description":"That's the article that you want to read!"
}
---
The frontmatter replication happens by default page by page when you submit the metadata manager form.
cd $DOKUWIKI_HOME
# optional (for farm)
animal=animal-directory-name
# command
php ./bin/plugin.php combo metadata-to-frontmatter
When the enableFrontMatterOnSubmit configuration, you will create a frontmatter when you submit the metadata manager form.
By default, this functionality is disabled if the page does not have already a frontmatter.