org-mode + org-roam + Hugo + Hugo themes + github/gitlab
Table of Contents
org-mode + org-roam + Hugo + Hugo themes + github/gitlab
- Export the org files into md files using ox-hugo
- Use a hugo template to package them
- Link the GitHub private repo to a hosting platform like Vercel
- Publish them using the hosting platform
Cons of this approach
- We have to use custom hugo themes.
- The functionality that is going on in those theme is a mystery.
- That can be a rabbit hole.
- We are always searching for the next best hugo theme. There are so many of them out there but not a single one that meets all of your criteria. It is a time-sink.
- We need to build
pagefind
index because thesearch
feature is NOT built into these custom themes.- The pagefind index can be huge.
- Saving all of those indexes to gitlab or github is a waste of space and bandwidth.
Pros of this approach
- The table of contents feature works great
- If we find a theme that we like, and if we can stick to it, things will be simple and straight-forward.