Generate blog index explicitly #37

Open
opened 2024-06-17 22:16:02 +02:00 by ktyl · 0 comments
Owner

Currently the blog index is generated by forming index.html, and then injecting that using ppp.py into root/blog.html. This makes $(BLOG_INDEX) is an explicit dependency of every %.html page in the Makefile, adding a complication to the site generation. The end result is even deployed as part of the site artifacts! https://ktyl.dev/blog/index.html

Write a Python script to generate this page explicitly instead of having the complexity in the Makefile.

Currently the blog index is generated by forming `index.html`, and then injecting that using `ppp.py` into `root/blog.html`. This makes `$(BLOG_INDEX)` is an explicit dependency of every `%.html` page in the Makefile, adding a complication to the site generation. The end result is even deployed as part of the site artifacts! https://ktyl.dev/blog/index.html Write a Python script to generate this page explicitly instead of having the complexity in the Makefile.
ktyl added the
enhancement
label 2024-06-17 22:16:02 +02:00
ktyl self-assigned this 2024-06-17 22:16:02 +02:00
ktyl added this to the Simplify site generation project 2024-06-17 22:16:02 +02:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ktyl/ktyl.dev#37
No description provided.