Navigation
  • Share
  • Breadcrumb

    evergreen

    Authoring Stage Taxonomy for Digital Garden

    Published on , modified on .

    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:

    1. Register the taxonomy in your config.toml:
    [taxonomies]
        stage = "stage"
    
    1. Create taxonomy folder and it’s terms _index.md:
    mysite/
        ├── ...
        ├── content/
        │   └── stage/
        │       ├─ seedling/
        │       │   └─ _index.md
        │       ├─ budding/
        │       │   └─ _index.md
        │       └─ evergreen/
        │           └─ _index.md
        └── ...
    
    1. Within _index.md, Set the stage title and translationKey if site is multilingual, you can also override custom indicator or emoji:
    ---
    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
    
    1. Add the stage parameter into your post index.md:
    ---
    title: 'My Post'
    stage: 'seedling'
    ---