write to HTML output with a custom template and style

This commit is contained in:
2025-07-19 17:32:07 -05:00
parent 5aeaedb169
commit 9fc2f76df3
3 changed files with 283 additions and 1 deletions

View File

@@ -2,6 +2,8 @@ TMPDIR := ./_tmp
CSRD := ./og-csrd/index.html
MD_CSRD := $(TMPDIR)/og-csrd.md
CCSRD := $(TMPDIR)/ccsrd.md
STYLESDIR := ./pandoc
WEBDIR := $(TMPDIR)/web
HTML_OUT := $(WEBDIR)/index.html
@@ -37,7 +39,7 @@ $(TMPDIR)/%.patch: $(BASE_PATCH_DIR)/%.patch
web: $(CCSRD)
mkdir -p $(WEBDIR)
pandoc $(CCSRD) -s -o $(HTML_OUT)
pandoc $(CCSRD) --data-dir=$(STYLESDIR) --template bss -s -o $(HTML_OUT)
# BUILD STEPS