rgst-io / stencil

📒 A modern living-template engine for evolving repositories
https://stencil.rgst.io
Apache License 2.0
4 stars 1 forks source link

feat: support library templates #64

Closed jaredallard closed 1 month ago

jaredallard commented 1 month ago

This commit adds support for special "library" templates that can never generate files. The intent for these is to provide helper functions/sub-templates for other templates to call. A libary template is any template file that has the .library.tpl extension.

Adds tests ensuring that this functionality works as expected as well as updates the documentation to reflect the introduction of them.

cloudflare-pages[bot] commented 1 month ago

Deploying stencil with  Cloudflare Pages  Cloudflare Pages

Latest commit: de428f8
Status: âœ…  Deploy successful!
Preview URL: https://ea2788ce.stencil-1wj.pages.dev
Branch Preview URL: https://jaredallard-feat-library-tem.stencil-1wj.pages.dev

View logs

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

:loudspeaker: Thoughts on this report? Let us know!