Document Tags

In Zettelkasten tags are usually redundant. wb provides a simple implementation that may serve as an additional grouping layer generating Backlinks.

Documents can be tagged via Front Matter.

Before rendering is triggered, wb collects all the tagged documents, and writes unified tag index to disk in tags/ directory under Layout Root. This directory contains a list of all tags and can be referenced via [[tags]] wikilink.

Default templates do not link the tag index out of the box.

👀 This documentation is tagged for illustrative purposes. You can access the tag index here. This document has been tagged as #interesting.

⚠️ The tags implementation comes with a couple of caveats:

So the rule of thumb is: if you like to use document tags, do not create your own files/directories named tags.

Example

Assuming we have a sample set of documents tagged as follows:

doc1.md

---
title: Document one
tags:
 - happy
---
...(contents)

doc2.md

---
title: Document two
tags:
 - happy
 - fun
---
...(contents)

wb will create the following structure in :

tags
├── happy
│   └── index.md
└── fun
    └── index.md

Such that:

Additionally, both doc1.md and doc2.md rendered will be annotated with #happy and #fun backlinks.

Backlinks


Improve this page

fingerprint 79ee6975 -- generated for https://mtod.org/wb at 2022-05-24 10:51:45.091944Z