
Grdn is a clean, minimal Hugo theme specifically designed for publishing your Obsidian notes as a beautiful digital garden. It maintains the integrity of your note connections while presenting them in a web-friendly format.
-
Obsidian Compatibility
- Full support for
[[wikilinks]]
syntax - Hover previews for internal links
- Backlinks section showing connections between notes
- Graceful handling of broken links
- Full support for
-
Modern Navigation
- Dynamic filter bar with real-time updates
- Full-text title search
- Category filtering with count indicators
- Growth stage filtering for digital garden workflows
- Shareable URLs that preserve filter state
-
Clean Design
- Light/Dark mode with system preference detection
- Responsive design for all devices
- Minimal JavaScript for fast loading
- Focused reading experience
-
Content Organization
- Flat URL structure regardless of folder hierarchy
- All notes accessible under configurable base path
- Support for frontmatter metadata (title, category, growth stage)
- Easy navigation between connected notes
- Hugo Extended (version 0.112.0 or later)
- An Obsidian vault (optional, but recommended)
-
Create a new Hugo site (skip if you already have one)
hugo new site my-digital-garden cd my-digital-garden
-
Add the Grdn theme
git init git submodule add https://github.com/hfactor/Grdn.git themes/Grdn
-
Configure your site
Create or update your
config.toml
file with:baseURL = "https://example.com/" languageCode = "en-us" title = "My Digital Garden" theme = "Grdn" [params] # Enable/disable features enableSearch = true enableCategoryFilter = true enableGrowthFilter = true # Base path for notes notesPath = "/notes/"
-
Add your notes
Place your markdown files in the
content/notes/
directory. If you're using Obsidian, you can set this folder as your vault. -
Start the Hugo server
hugo server -D
-
Visit
http://localhost:1313
to see your digital garden!
Grdn works best when your notes include frontmatter with metadata:
---
title: "My Note Title"
date: 2023-06-15
category: "Programming"
growth: "seedling"
---
Note content with [[wikilinks]] to other notes.
The theme supports digital garden growth stages to indicate the maturity of your notes:
seedling
: Initial thoughts or early draftsbudding
: Developing ideas with some structureevergreen
: Well-developed, mature content The growth stages are coustomisable. You can change the growth stages by adding it in the frontmatter of your notes. Consider this as a seperate category.
Create a config.toml
file in your site's root directory. Here are the available options:
[params]
# Core Features
enableSearch = true # Enable/disable search functionality
enableCategoryFilter = true # Enable/disable category filter
enableGrowthFilter = true # Enable/disable growth stage filter
# Path Configuration
notesPath = "/notes/" # Base path for all notes
# UI Configuration
defaultTheme = "system" # "light", "dark", or "system"
# Site Information
description = "My digital garden of interconnected notes"
author = "Your Name"
- Create a
.github/workflows/hugo.yml
file with GitHub Actions configuration - Push to GitHub
- Enable GitHub Pages in your repository settings
- Connect your GitHub repository to Netlify
- Set the build command to
hugo --minify
- Set the publish directory to
public
Contributions are welcome! This theme was built with a focus on simplicity and usability, but there's always room for improvement.
If you find bugs or have feature requests, please open an issue or submit a pull request.
This theme is released under the MIT License. See the LICENSE file for details.
- Obsidian for the amazing note-taking experience
- Hugo for the powerful static site generation
- Fuse.js for client-side search capability
Built with ❤️ by @hfactor. Feel free to reach out on Twitter.