Skip to content

Templates - #59

Open
lovelydinosaur wants to merge 2 commits into
mainfrom
templates
Open

lovelydinosaur wants to merge 2 commits into
mainfrom
templates

Conversation

@lovelydinosaur

@lovelydinosaur lovelydinosaur commented Sep 29, 2026 •

Copy link
Copy Markdown
Member
  • Include templates in Site
  • TemplateLoader (Custom jinja loader, that takes a Site instance and loads templates from there)

Initial improvement here is that templates will be visible to the site.


Here's what I think we ought to be aiming for wrt. the render context...

  • site Site

    • .pages Page
    • .statics Static
    • .templates Template
    • .nav Navigation
    • .context Context
  • page BuiltPage

    • .text str
    • .html str
    • .toc TableOfContents
    • .links Links

This also allows us to then have full-site builds (link checking, index building, etc.)...

  • site Site
  • build list[BuiltPage]

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant