Rename all the things

This commit is contained in:
Midgard 2020-06-13 14:46:35 +02:00
parent 7946b4dff7
commit ebfd0c8a06
Signed by untrusted user who does not match committer: midgard
GPG Key ID: 511C112F1331BBB4
4 changed files with 5 additions and 5 deletions

View File

@ -9,13 +9,13 @@ PYTHON ::= venv/bin/python
all: $(BUILD_DIR)/index.html $(BUILD_DIR)/syntax.css public $(BLOG_HTML)
$(BUILD_DIR)/index.html: index.html $(BLOG) do_blog.py
$(BUILD_DIR)/index.html: templates/index.html $(BLOG) page.py
@mkdir -p "$(@D)"
$(PYTHON) do_blog.py --index "$<" "$@"
$(PYTHON) page.py --index "$<" "$@"
$(BUILD_DIR)/blog/%.html: blog/%.md blog.html do_blog.py
$(BUILD_DIR)/blog/%.html: blog/%.md templates/blog.html page.py
@mkdir -p "$(@D)"
$(PYTHON) do_blog.py "$<" "$@"
$(PYTHON) page.py "$<" "$@"
$(BUILD_DIR)/syntax.css: makefile
@mkdir -p "$(@D)"

View File

@ -43,7 +43,7 @@ LIST_ITEM_TEMPLATE = """
def blog_page_template():
with open("blog.html") as fh:
with open("templates/blog.html") as fh:
return fh.read()