(we are switching to a new theme,
don't worry if things look different for a while!)

Site Navigation

Plans

Massive Wiki Roadmap
Pier2Pier
Massive Wiki Builder redesign

For Testing

wiki link test page
Mistletoe parser test page
Mistletoe & the ampersand story

Edit on GitHub


Page History in YAML Frontmatter

(NOTE: This is an advanced usage. Don't feel you need to do this. If you want, you can do something similar in the text at the bottom of the page, that would work as well.)

In Massive Wiki, the git commit log tracks history of each page per commit.

Sometimes, it's nice to keep a log of meaningful changes to a page, rather than just a log of each commit.

For that purpose, we suggest a convention of keeping an array of page history entries in the YAML Frontmater of the page.

To make this, type three dashes at the top of the page on the beginning line, then the page history entries (try to use the correct indentation pattern, but if you don't, it's not the end of the world). At the bottom, type three more dashes. All of this comes before any other text or Markdown on the page.

The first line:

Each entry:

Here's what it looks like (remember, this goes at the top of the page you're working on):

---
page-history:
  -
    author: Bill
    date: 2021-10-13
    summary: "I added some comments, and fixed some typos."
  -
    author: Pete
    date: 2021-10-12
    summary: "page created; I cobbled it together from various mattermost and other comments"
---

Pages that link to this page