commit 6ef5fd80367d2ce224fca5737fc3e82d97a892b7
parent 2131278453454c621eedadf5ee9e8cf5a32fada2
Author: Sven Möller <sven-moeller@outlook.de>
Date: Mon, 20 Dec 2021 22:44:14 +0100
Convert .md links to .html links
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -9,7 +9,7 @@ all: $(DSTS) $(DST_DIR)/style.css
$(DST_DIR)/%.html: %.md template.html | $(DST_DIR)
title=$$(sed -nE 's/^#\s+//p' $<); \
- pandoc --template template.html --metadata title="$$title" -o $@ $<
+ sed 's/\.md/\.html/g' $< | pandoc --template template.html --metadata title="$$title" -o $@
$(DST_DIR)/style.css: style.css | $(DST_DIR)
cp $< $@
diff --git a/index.md b/index.md
@@ -2,7 +2,7 @@
To my personal website!
-[How I build this site](README.html)
+[How I build this site](README.md)
* [GitHub](https://github.com/svemoe)
* [GitLab](https://gitlab.com/svemoe)