From cb205d1c4bf42f5c2e25cef6e7884853c86de056 Mon Sep 17 00:00:00 2001 From: Lucas Fryzek Date: Fri, 20 Jan 2023 22:58:09 -0500 Subject: Add RSS feed --- makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'makefile') diff --git a/makefile b/makefile index 6c10813..80ba4fc 100644 --- a/makefile +++ b/makefile @@ -33,7 +33,10 @@ $(HTML_DIR)/%.html: $(PAGE_DIR)/%.md -M main_container="main-container-page" \ -o $@ -$(HTML_DIR)/index.html: $(HTML_DOCS) $(PAGE_FILES) +html/feed.xml: $(META_DOCS) + ./tools/rss_gen.py + +$(HTML_DIR)/index.html: $(HTML_DOCS) $(PAGE_FILES) html/feed.xml touch $(HTML_DIR)/.nojekyll pandoc -s --lua-filter=./tools/front_page.lua --template=./templates/main.html main.md \ --metadata=note_list:"$(SOURCE_FILES)" \ -- cgit v1.2.3