- removed cache

- few comptime related changes
This commit is contained in:
2026-01-27 16:04:02 +05:30
parent aca930af41
commit 90c8f6f2fb
11 changed files with 140 additions and 378 deletions

View File

@@ -7,12 +7,9 @@ pub fn main() !void {
const allocator = gpa.allocator();
// Test: Simple include from test_views
var engine = pugz.ViewEngine.init(allocator, .{
var engine = pugz.ViewEngine.init(.{
.views_dir = "tests/sample/01",
}) catch |err| {
std.debug.print("Init Error: {}\n", .{err});
return err;
};
});
defer engine.deinit();
const html = engine.render(allocator, "home", .{}) catch |err| {