Rename all the things
This commit is contained in:
parent
7946b4dff7
commit
ebfd0c8a06
4 changed files with 5 additions and 5 deletions
8
makefile
8
makefile
|
@ -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)"
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
Loading…
Reference in a new issue