Add static + changes for bw compat

This commit is contained in:
2023-06-04 18:24:07 +03:00
parent 6393a9b1c2
commit 6b2c745440
8 changed files with 589 additions and 9 deletions

View File

@@ -3,9 +3,9 @@ METADATA := $(METADATA) metadata.md
PAGE := $(shell basename $(shell pwd))
all: $(BUILDDIR)/$(PAGE)/index.html
all: $(BUILDDIR)/page/$(PAGE)/index.html
$(BUILDDIR)/$(PAGE)/index.html: main.md $(METADATA)
$(BUILDDIR)/page/$(PAGE)/index.html: main.md $(TEMPLATE) $(METADATA)
@mkdir -p $(@D)
pandoc $< $(METADATA) --to html --output $@ --standalone --template $(TEMPLATE) --mathjax