update: default path for search templates

This commit is contained in:
Lucas F. 2026-01-14 09:47:15 -03:00
parent 024386eaf5
commit a4ec89b743

View file

@ -6,6 +6,7 @@ const parser = @import("parser.zig");
pub const TemplateCache = struct {
arena: Allocator,
cache: std.StringHashMapUnmanaged([]parser.Node),
default_path: ?[]const u8 = "templates",
pub fn init(child_allocator: std.mem.Allocator) TemplateCache {
const arena = std.heap.ArenaAllocator.init(child_allocator);