From 34d8c836c9fbd99b81c7e7f966f4a13c90b82b23 Mon Sep 17 00:00:00 2001 From: /dev/urandom Date: Wed, 27 May 2020 16:19:57 +0300 Subject: [PATCH] added simple opengraph support --- Makefile | 2 +- tpl/default.tpl | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6e821c6..74ba652 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ upload: $(OUTDIR)/%.html: $(PAGEDIR)/%.md $(TPLDIR)/default.tpl @mkdir -p $(@D) - theme -C style -t $(TPLDIR)/default.tpl -o $@ $< + theme -C style -t $(TPLDIR)/default.tpl -p $(patsubst $(OUTDIR)/%,%,$@) -o $@ $< $(OUTDIR)/%: static/%.h @mkdir -p $(@D) diff --git a/tpl/default.tpl b/tpl/default.tpl index 2483447..4e10434 100644 --- a/tpl/default.tpl +++ b/tpl/default.tpl @@ -4,6 +4,10 @@ <?theme title?> + + + +