Skip to content

Timelines

experimenthouse edited this page Mar 6, 2019 · 1 revision

Timelines are a feature that can be added to a page or post to illustrate the progress of something. A page or post can include a timeline in its YAML frontmatter:

---
layout: page
title: "Project Name"
timeline:
  complete: false
  milestones:
  - milestone: "Milestone description"
    date: YYYY-MM-DD
  - milestone: "Another milestone description"
    date: YYYY-MM-DD
---

In this example, the timeline is not complete and so complete: false is specified. If the timeline is complete (for example, the relevant project has been finished) this should be replaced with complete: true.

A timeline can be included anywhere in the body of the page or post using the following Liquid tag:

{% include timeline.html %}

Only one timeline per page or post is supported.

Clone this wiki locally