How I created the site for my Obsidian vault
This site is created using very simple script that transforms notes with certain parameters defined in build.py into ready-to-publish notes. The site itself is quite simple in usage, it uses hugo with a slightly modified hugo-PaperMod theme that just uses the transformed Markdown files into HTML. build.py performs a simple regular expression to find publish: true inside my Notes/ directory: HOME = Path.home() VAULT = HOME / "notes" NOTES = VAULT / "Notes" DEST = VAULT / "site" / "content" / "notes" for filepath in NOTES.rglob("*.md"): process_file(filepath) def process_file(filepath): # ... frontmatter = re.sub( r"^publish:\s*true\s*\n?", "", frontmatter, flags=re.MULTILINE ) # ... The script will essentially grab all the Markdown files in NOTES and search for those that have publish: true in their frontmatter and perform some basic modifications like removing unwanted properties or transforming by references into their source URLs. ...