askonomm / htmt

A templating library with native AOT support for .NET projects.
9 stars 0 forks source link

Add support for partials #6

Closed askonomm closed 1 month ago

askonomm commented 1 month ago

The ability to include one template document inside of another. Should be fairly straight forward by just a custom tag like <x include="template.html" /> or something.

askonomm commented 1 month ago

Since Htmt does not deal with filesystem access, I figure the partials would have to be provided by the end-user in the form of a Dictionary<string, string> most likely, where the K is template.html and V is the content.