Hugo site: layouts, config and pilot content
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YDRjtmAiNpo5mK5N3d7QwZ
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
OC ?= ../oc
|
||||
|
||||
.PHONY: content build check serve
|
||||
|
||||
content: ## regenerate content/ and static/media/ from the extraction repo
|
||||
python3 $(OC)/scripts/05_hugo.py --target $(CURDIR)
|
||||
|
||||
build: ## build the site into public/
|
||||
rm -rf public
|
||||
hugo --panicOnWarning --minify
|
||||
|
||||
check: build ## build, then verify every internal link and image
|
||||
python3 tools/check_links.py public
|
||||
|
||||
serve: ## local preview on http://localhost:1313
|
||||
hugo server
|
||||
Reference in New Issue
Block a user