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
- [test] A few months ago.
May 16, 2022
- [documentation] Document post layout
05/17/2022
- Finish post layout
- Start working on calendar layout
05/18/22
- Dates can be formatted differently
- [test] This is a test…
Invalid Date, 2022
- [test] Testing…