added func to write prefix

This commit is contained in:
Simon Kellet 2026-03-16 13:11:35 +00:00
parent 440562df8b
commit 5c05bedb71

View File

@ -12,6 +12,12 @@ CSS_PREFIX :: "<head><link rel=\"stylesheet\" href=\"./css/style.css\">\n"
MASTODON_PREFIX :: "<a rel=me href=https://linuxrocks.online/@simonkellet></a>\n" MASTODON_PREFIX :: "<a rel=me href=https://linuxrocks.online/@simonkellet></a>\n"
write_prefixs_to_html_file :: proc(file: ^os.File) {
os.write_string(file, UTF8_PREFIX)
os.write_string(file, CSS_PREFIX)
os.write_string(file, MASTODON_PREFIX)
}
walk_tree_and_get_md_names :: proc( walk_tree_and_get_md_names :: proc(
path: string, path: string,
allocator := context.allocator, allocator := context.allocator,