From 0fc4e6180beafec67ecd57b7a5b94bc7cc4f8880 Mon Sep 17 00:00:00 2001 From: Simon Kellet Date: Mon, 16 Mar 2026 16:41:46 +0000 Subject: [PATCH] pass arena to generate_blog_md_file proc --- main.odin | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.odin b/main.odin index 555af4a..94b143f 100644 --- a/main.odin +++ b/main.odin @@ -29,7 +29,7 @@ main :: proc() { start := time.tick_now() //start timer for footer - generate_blog_md_file(directory) + generate_blog_md_file(directory, arena_alloc) md_files := walk_tree_and_get_md_names(directory, arena_alloc) for file, i in md_files { @@ -60,8 +60,9 @@ main :: proc() { if file_err != nil { fmt.eprintfln("ERROR: Could not open file %s: %s", file, os.error_string(file_err)) } + write_prefixs_to_html_file(file) - os.write_string(file, html) + os.write_string(file, html) //WRITE PAGE switch trimmed_filename { case "index":