Hematite Theme Hematite Theme

Example Calendar

This is a sample calendar. View its source on GitHub.

Its frontmatter looks like this:

---
title: Example Calendar
layout: calendar

# Show posts in the calendar on the days associated
# with them.
include_posts: true

# Get date info from `h1` headers. This is the default,
# so in this case, `calendar_date_elem` could be omitted.
calendar_date_elem: h1
---

By choosing h1 as the calendar_date_elem, we choose to use toplevel headings to specify dates (# Toplevel heading).

List items following the header are associated with it and added to the calendar.

April 12, 2022

May 16, 2022

05/17/2022

05/18/22

Invalid Date, 2022