The changelog shortcode can be used for adding a changelog section to a page.
It renders the data from the _changelog.yaml file which has to be stored in the same folder.
syntax:
{{< changelog >}}md
Example:
Content of _changelog.yaml:
- version: 0.2.0
date: 2021-01-17
author: mrBrutus
changed:
- "`group` renamed to `vars`"
- version: 0.1.0
date: 2020-12-23
author: mrBrutus
added:
- initial release
yamlrenders as:
Version history
0.2.0
mrBrutus
Changes
Changed:
grouprenamed tovars
show full history
0.1.0
mrBrutus
Changes
Added:
- initial release