Hugo Helpers
Buildish-specific Hugo shortcodes and partials used by page authors and site maintainers.
IMPORTANT: Developer documentation for the current development branch. This content is unreleased, may change without notice, and must not be treated as Buildish release documentation.
The Website component consumes the reusable site-pipeline staging package from the sibling
buildish-site-pipeline repository and then renders the staged contract with
Hugo + Docsy.
This unreleased development documentation keeps only Buildish-specific consumer notes. Canonical generic
pipeline documentation lives under the dedicated site-pipeline component.
Buildish owns the parts that are specific to this consumer site:
site/Makefile as the main developer entrypointsite-pipeline base imageBuildish-specific Hugo shortcodes and partials are documented separately:
From site/:
make serve / make serve-local — live restaging plus Hugo previewmake build / make build-local — fresh staged and rendered site outputmake render / make render-local — rerun Hugo against the current stage rootmake stage / make stage-local — refresh only site/.stage/ and site/.preview/make check — run clean, tests, and build-localHost-tool workflows expect uv, Hugo extended, and Node via nvm using
.nvmrc.
Buildish keeps a pinned consumer-specific build image so contributors can work without installing the full local toolchain.
site-pipeline base image lives in the sibling repository../tools/site-build-image/site/Makefile remains the main entrypoint for both containerized and native
workflowsThe main generated paths remain:
site/.stage/site/.preview/site/.public/For pipeline behavior, workspace semantics, and the reusable component contract,
use the site-pipeline docs:
The interactive workflow intentionally keeps Hugo focused on staged sources.
make serve and make serve-local keep site/.stage/ current while Hugo runs
without regenerating every derived output on each change.
The current development-only limitations are consumer-facing rather than pipeline-contract issues. For example, route removals can linger briefly in an already-running Hugo session until the server is restarted.
Buildish-specific Hugo shortcodes and partials used by page authors and site maintainers.
Project: Buildish.