added utf8 and footer, with comp time

This commit is contained in:
Simon Kellet
2026-03-09 22:50:04 +00:00
parent 7b62c1f31c
commit 33b5ee725a
3 changed files with 29 additions and 5 deletions
+2
View File
@@ -8,9 +8,11 @@ import cm "vendor:commonmark"
MD_SUFFIX :: ".md"
UTF8_PREFIX :: "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />"
CSS_PREFIX :: "<head><link rel=\"stylesheet\" href=\"./css/style.css\">"
MASTODON_PREFIX :: "<a rel=me href=https://linuxrocks.online/@simonkellet></a>"
walk_tree_and_get_md_names :: proc(path: string, allocator: runtime.Allocator) -> [dynamic]string {
files := make([dynamic]string, allocator)