β„‚π• π•Ÿπ•₯π•šπ•Ÿπ•¦π•¦π•ž

SSG Build Tool Comparison

Last update: 2025-05-26

Tags: code

A concrete Bash-only implementation that stays within your original structure using:

Task Bash Python Comment
Running Pandoc βœ… βœ… Both fine
Parsing YAML ⚠️ Fragile βœ… Robust Python is safer
Sorting posts by date ❌ Hard βœ… Easy Use Python
Template rendering ❌ No support βœ… jinja2 etc. Use Python
Managing dependencies βœ… with Make βœ… with Make Either
Portability/minimalism βœ… Bash wins ❌ Needs Python Bash wins
Maintainability ❌ Declines fast βœ… Cleaner Python wins
project/
β”œβ”€β”€ content/
β”œβ”€β”€ layout/
β”œβ”€β”€ pages/
β”œβ”€β”€ scripts/
β”‚   β”œβ”€β”€ build_index.sh
β”‚   └── build_tags.sh
β”œβ”€β”€ Makefile

Specifications for a static site generator using:

Sample markdown file:

---
title: About
date: 2025-02-02
tags: 
  - about
  - music
description: Continuum is a simple notes repository where I irregularly post my notes.
---

Continuum is a personal repository where I occasionally post my notes, starting from May 15, 2023. However older notes, written before that date, are also archived.

I primarily write by hand as a means of processing my thoughts and enhancing my comprehension. These notes serve as a valuable reference for both the present and the future, and the daily practice of writing them has become a personal memory tool, especially as I age. 

Directory Structure

CONTENT_DIR = "content"
OUTPUT_DIR = "pages"
TEMPLATE = "layout/default.html"
TAG_TEMPLATE = "layout/tag.html"

Features

Output

Desired Behavior