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":