Go-idiomatic View Engine
More Modular
Add builtin support for fs.FS
and embed.FS
.
Full Changelog: https://github.com/kataras/blocks/compare/v0.0.5...v0.0.6
Minor improvements and dependency updates.
Accept both string and http.FileSystem
to load templates through. The Assets
method removed. A new RootDir
method was added to be able to target a specific directory inside the provided http.FileSystem
to use as the root one, to load templates from.
Add _examples/static-generator
example and Blocks.Layouts
field for map of all layouts.
Initial Release