refactor: Broke config/flags into a separate struct from Site.

This commit is contained in:
Spencer Brower
2026-07-14 16:47:12 -04:00
parent 3c149246be
commit 00b73c04ba
4 changed files with 86 additions and 48 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ main :: proc() {
pages := walk_content(&site)
render_site(pages, site)
if !site.watch {
if !(.Watch in site.features) {
break
}
time.sleep(5 * time.Second)