feat: Added config file support.

This commit is contained in:
Spencer Brower
2026-07-12 10:00:30 -04:00
parent 462c434334
commit 42d58394ef
6 changed files with 168 additions and 111 deletions
+1 -2
View File
@@ -156,8 +156,7 @@ load_page :: proc(
content := string(data)
fm, body, parsed := parse_frontmatter(content)
if !parsed {
fmt.eprintfln("thor: no frontmatter in %s", file_path)
return
body = strings.trim_left(content, " \t\r\n")
}
page.type = page_type