-
Notifications
You must be signed in to change notification settings - Fork 5
page title metadata
This page was created via GH’s Web-UI:
- page name:
page title metadata - filename:
page-title-metadata.md
Experiment in overriding the title of this page via HTML comments metadata (the Gollum way) didn’t work in GitHub Wiki.
In Gollum’s documentation we read:
By default, a page’s title will be its file path, relative to repository root (or page file dir), without extension (e.g.
/mordor/Sauron).
But it also mentions that it is possible to set a custom title via metadata:
<!-- --- title: My page title -->
on condition that:
… the metadata must be the first piece of text on the page.
I’ve added at the very beginnin of this Page’s source:
<!-- --- title: A Page With Custom Title -->
but the Page title didn’t change!
I've also tried with:
<!-- title: A Page With Custom Title -->
... but to no avail!
Since I first experimented with this page, GitHub introduced a page title metadata input control, right on top of the editing page. After editing the page title metadata to MY CUTOM TITLE VIA METADATA and saving the page, GitHub actually changed the page filename!