write to HTML output with a custom template and style
This commit is contained in:
4
Makefile
4
Makefile
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user