Blog Workflow Part 3: Making Posts
July 18, 2026
This is Part 3 of a 3-part series documenting the blog workflow. This part covers making posts and the Git workflow.
Making Posts
- Create a new Markdown file in
src/notes/(e.g.,new-note.md) - Add frontmatter:
--- layout: layouts/post.njk title: Your Title date: YYYY-MM-DD tags: [note] --- - Write content in Markdown
- The note automatically appears in the notes index and homepage
Modifying Templates
- Edit Nunjucks templates in
src/_includes/ - Changes apply to all pages using those templates
- Layout changes affect all pages using that layout
- Partial changes affect all pages including that partial
Git Workflow
The _site/ directory is gitignored since it's generated during build. Only source files are tracked in Git. When deploying:
- Commit changes to source files
- Build locally with
npm run build - Deploy with
npm run deploy - The generated
_site/is synced to the server
The workflow from making posts to deployment:
- Create or edit content in
src/directory - Test locally with
npm run serve - Commit changes to Git
- Build with
npm run build - Deploy with
npm run deploy - Changes are live at https://brennan.casa
Previous Parts
Return to Part 1: Project Structure & Architecture for information about the project structure and template architecture.
Continue from Part 2: Build Process & Deployment for information about the build process and deployment workflow.