This plugin provides a new panel section that provides a calendar view. It shows all children and grandchildren of a given parent in a calendar view. The Pages need to have a field called date
. Maybe I should make this configurable.
composer require pwaldhauer/kirby-calendar-view
or copy the files to thesite/plugins
folder.- Add the section to a blueprint:
sections:
calendar:
type: calendar-view
headline: Kalender
target: blog
parent: blog
defaultTemplate: blog-post
headline
: Printed above the sectiontarget
: The path to the page a new one will be a child of.[YEAR]
will be replaced with the current year (e.g. 2020).parent
: This is the parent page of all shown postsdefaultTemplate
: Default template
MIT