Authoring Stage Taxonomy for Digital Garden
This theme supports custom taxonomy and growth stage indicators.
By default seedling, budding and evergreen will have predefined indicator.
But fist, it must be manually set up as follows:
- Register the taxonomy in your
config.toml:
[taxonomies]
stage = "stage"
- Create taxonomy folder and it’s terms
_index.md:
mysite/
├── ...
├── content/
│ └── stage/
│ ├─ seedling/
│ │ └─ _index.md
│ ├─ budding/
│ │ └─ _index.md
│ └─ evergreen/
│ └─ _index.md
└── ...
- Within
_index.md, Set the stagetitleandtranslationKeyif site is multilingual, you can also override customindicatororemoji:
---
title: 'Stage of me being Godzilla'
translationKey: godzilla
emoji: '🦖'
# indicator: 'https://example.com/indicator.svg'
---
You can write the introduction or blah blah blah here
- Add the stage parameter into your post
index.md:
---
title: 'My Post'
stage: 'seedling'
---