This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Personal tech notes site built with Hugo and the PaperMod theme. Posts are written in Markdown with TOML frontmatter.
# Development server (includes drafts)
hugo server -D
# Production build
hugo --minify
# Create new post
hugo new posts/my-post-title.md- Theme: PaperMod installed as git submodule in
themes/hugo-PaperMod - Content: All posts go in
content/posts/as Markdown files - Custom layouts:
layouts/contains overrides for PaperMod- Mermaid diagram support via
_default/_markup/render-codeblock-mermaid.htmlandpartials/extend_footer.html
- Mermaid diagram support via
- Deployment: GitHub Actions workflow deploys to GitHub Pages on push to
main
Posts use TOML frontmatter (+++ delimiters). Key fields:
title,date,draft,tags,summarymermaid = trueto enable Mermaid diagrams in a postShowToc = falseto hide table of contents
Use page bundles: create a folder with post name containing index.md and images:
content/posts/my-post/
├── index.md
└── diagram.png