- commit
- 70c77db9f384e5a2cb32282eab69412258aec666
- parent
- e007dcc02b3bdd357de7b68a73c60bc9a09218e7
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2023-11-03 13:22
disable smart typography
Diffstat
M | Makefile | 5 | +++-- |
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
@@ -3,6 +3,7 @@ PAGES := $(shell find _content -name 'index.md' | sed 's/^_content/build/;s/md$$ 3 3 PAGES_MD := $(shell find _content -name 'index.md' | sed 's/^_content/build/') 4 4 STATIC := $(shell find static -type f | sed 's/^/build\//') 5 5 IMG := $(shell find _content -regex '.*\.\(png\|gif\|jpg\)$$' | sed 's/^_content/build/') -1 6 PANDOC_ARGS = -f markdown-smart --wrap=none 6 7 7 8 .PHONY: all 8 9 all: build/index.html $(PAGES) $(PAGES_MD) build/feed.xml $(STATIC) build/static/style.css $(IMG) @@ -12,7 +13,7 @@ push: all 12 13 rsync --delete -vrlc build/ ce9e:/var/www/blog 13 14 14 15 build/%.html: build/%.md _templates/base.html15 -1 pandoc --template _templates/base.html $< -o $@-1 16 pandoc $(PANDOC_ARGS) --template _templates/base.html $< -o $@ 16 17 @sed -i 's/<tr class="header">/<tr>/g' $@ 17 18 18 19 build/%.md: _content/%.md @@ -33,7 +34,7 @@ build/%.gif: _content/%.gif 33 34 ln $< $@ 34 35 35 36 build/feed.xml: build/index.md _templates/feed.xml36 -1 pandoc --template _templates/feed.xml -t html $< -o $@-1 37 pandoc $(PANDOC_ARGS) --template _templates/feed.xml -t html $< -o $@ 37 38 38 39 build/static/%: static/% 39 40 @mkdir -p $$(dirname $@)