Feature: Cascading Templates #5

Open
opened 2025-05-27 21:08:11 +00:00 by endeavorance · 1 comment
Owner

Optional support for rendering _template.html files from each directory level when targeting a glob of files.

Given the structure:

project/
  _template.html
  index.md
  tags/
    _template.html
    news.md
    birthdays.md

When rendering birthdays.md from the project directory as the root folder, this option would first render project/tags/_template.html then take those results and use them as the content for the project/_template.html template as the final output

Optional support for rendering `_template.html` files from each directory level when targeting a glob of files. Given the structure: ``` project/ _template.html index.md tags/ _template.html news.md birthdays.md ``` When rendering `birthdays.md` from the `project` directory as the root folder, this option would first render `project/tags/_template.html` then take those results and use them as the content for the `project/_template.html` template as the final output
Author
Owner

I'm 50/50 on if this should be directory-driven or data/arg driven

I'm 50/50 on if this should be directory-driven or data/arg driven
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
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: endeavorance/buildmd#5
No description provided.