I use Obsidian to create markdown notes and place the tags in the front matter. On my Jekyll website (my Digital Garden), these tags are utilized for navigation. My setup is described below.
First setup your Digital Garden with GitHub and for example Cloudflare Pages. Then install the paginate V2 plugin so that among other things pages for tags are automatically generated. Icons for the tags can be set with the Font Awesome Icons.
Add the following to index.html, above the html code with the Notes - Pageh3 header:
This will add the ‘tag cloud’.
As an example I took the cloudflare tag and digitalgarden tag.
You will have to manually add new tags to the code once (I don’t think this is a problem myself). The paginate V2 plugin ensures that the /tag/ pages are further generated automatically.
Insert under the first loop and ensure it is placed beneath the digitalgarden tag code:
Insert under the last loop and ensure it is placed beneath the digitalgarden tag code:
The main page of this website also has tags listed under each note. This code is in notes.html and has already been added if the steps are followed within the note about the Paginate V2 plugin.
A note page also has tags so add the following code to note.html:
I chose to place the tags under the content within the div labeled notes-entry-container.
Then add the following code to tags.html (within the _includes folder):
No comments found for this note.
Join the discussion for this note on Github. Comments appear on this page instantly.