From b9f28e54c1dd613d3aebfb3d4598d08b5d3a2ed4 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 24 Feb 2021 21:45:01 +0100 Subject: [html] add pandoc template using a sidebar for the toc --- html/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'html/Makefile') diff --git a/html/Makefile b/html/Makefile index d495a5a2..b11d692d 100644 --- a/html/Makefile +++ b/html/Makefile @@ -1,6 +1,6 @@ VERBOSE = @ -PANDOC_FLAGS = -f markdown -s +PANDOC_FLAGS = -f markdown -s --template=./template.html BUILDDIR = build @@ -11,8 +11,7 @@ EN_RULES = $(addprefix $(RULES_DIR)/en/,$(RULE_FILES)) RULES = $(DE_RULES) $(EN_RULES) RULES_HTML = $(addprefix $(BUILDDIR)/,$(RULES:.md=.html)) -MAPS_DIR = ../../maps -MAPS_BUILDDIR = $(BUILDDIR)/maps +MAPS_DIR = ../maps SITES = index.md rules.md cards.md maps.md HTML = $(addprefix $(BUILDDIR)/,$(SITES:.md=.html)) @@ -24,8 +23,8 @@ clean: rm -rf $(BUILDDIR) maps: - ln -sf $(MAPS_DIR) $(MAPS_BUILDDIR) - make -C $(MAPS_BUILDDIR) + ln -sf ../$(MAPS_DIR) $(BUILDDIR)/maps + make -C $(MAPS_DIR) $(BUILDDIR)/%.html: %.md @echo "building $@" -- cgit v1.2.3