Skip to content

page title metadata

tajmone edited this page Oct 2, 2017 · 7 revisions

This page was created via GH’s Web-UI:

  • page name: page title metadata
  • filename: page-title-metadata.md

Overruling Page Title via Gollum Metadata: FAILED!

Experiment in overriding the title of this page via HTML comments metadata (the Gollum way) didn’t work in GitHub Wiki.


Page Titles Criteria

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!

Page Title Metadata via GH WebUI

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!

Clone this wiki locally