Jekyll garden is a theme over Jekyll that supports Obsidian formats, and few features. To install Jekyll to your server or local host, refer these documents. Docker file is also available.
Alternatively, you can use Github and Github Pages as your server. It's very simple and almost low-code. Here is how to do it.
Step 1: Sign-In to Github, visit the theme page and click on 'Use this Template'
Step 2: Name the forked repo as yourusername.github.io. My Github username is hfactor, hence it's hfactor.github.io
yourusername.github.io
Step 3: Go to your repo's settings > pages and set the source to your main branch.
Step 4 (Optional): If you have a custom domain, set CNAME.
Now you have Jekyll setup ready, go to _config.yml and set your configurations. Here you can do the following configurations :
_config.yml
Edit these value via Github, and commit directly to Github, which will refresh the whole setup, and a Jekyll enivorment will be ready. You can visit the page by visiting yourusername.github.io
Now you have your online publishing setup ready. It's time to build your local knowledge management using Obsidian. Here are the steps :
Step 1: Go to github and clone your repository to your machine. For this, you can use git-commands or install Github for desktop.
Step 2: Once you have successfully cloned the repository to your machine, Open the Obsidian app in your machine, and set the folder _notes inside the repository as your vault.
_notes
This is important, because Jekyll Garden can only fetch and publish notes from _notes folder.
For all notes to work properly, we need to have three frontmatter values. Please make sure the front matter is written in between three lines. If you check any .md files in this repo, you will see something this.
--- title: Credits feed: hide date: 11-05-2022 permalink: /credits format: list ---
Title
credits.md
credits
Feed
show
date
permalink
format:list
Once you have enough notes, got to the Github Desktop app, commit the changes to main, and push the changes to Github. Github will update the pages!
If you want to know my workflow or Obsidian folder structure, check here
© 2024 • Contents under CC-BY-NC • Maintained by Karl Arne Dalsaune