update: default path for search templates
This commit is contained in:
parent
024386eaf5
commit
a4ec89b743
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue