mirror of
https://github.com/sbrow/thor.git
synced 2026-08-26 11:23:32 -04:00
feat: Added config file support.
This commit is contained in:
+1
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user