refactor: Simplified content.odin.

This commit is contained in:
Spencer Brower
2026-07-16 17:48:41 -04:00
parent a4b16e1b0a
commit c7b42ce7aa
6 changed files with 99 additions and 107 deletions
+3 -2
View File
@@ -45,8 +45,8 @@ main :: proc() {
// TODO: Make it so this isn't necessary
context.allocator = site_allocator(&site)
pages := walk_content(&site)
render_site(pages, site)
site_load_content(&site)
render_site(&site)
if !(.Watch in site.features) {
break
@@ -72,3 +72,4 @@ when SPALL {
spall._buffer_end(&spall_ctx, &spall_buffer)
}
}