Edit This Page Clicking 'Edit This Page' will open a new tab or window to edit this page on the Git forge. You'll need to be signed into the forge to edit. Close the edit page to return to this one.

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:

  • page-history(colon)

Each entry:

  • (space)(space)(dash)
  • (space)(space)(space)(space)author: Your Name Goes Here
  • (space)(space)(space)(space)date: yyyy-mm-dd
  • (space)(space)(space)(space)summary: "use double quotes around this if you use any punctuation"

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

    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