This document describes the architecture of the rocasta.com static site.
Technology Stack
Static Site Generator: Hugo (Extended) v0.164+
Theme: PaperMod
Content Format: AsciiDoc (processed by Asciidoctor)
Deployment: GitHub Pages via GitHub Actions
Local Development: Hugo development server with live reload
Directory Structure
| Path | Purpose |
|---|---|
| Blog posts in AsciiDoc |
| Architecture and build documentation |
| About page |
| Static images served at |
| Git submodule for theme |
| Built site output (gitignored) |
Content Model
Each post is a standalone AsciiDoc file in content/posts/ with Hugo YAML front matter:
---
title: "Post Title"
date: 2026-07-07
tags: [tag1, tag2]
showToc: true
---Images are placed in static/images/<post-name>/ and referenced via image: macro with :imagesdir: pointing to /images/<post-name>.
AsciiDoc attributes that must be set per-post when using images:
:imagesdir: /images/<post-name>Theme Architecture
PaperMod provides: - Dark/light/auto theme toggle - Responsive design - Taxonomy support (tags, categories) - Table of contents - Code copy buttons - Social share buttons