mirror of
https://github.com/sbrow/thor.git
synced 2026-08-26 11:23:32 -04:00
refactor: Broke config/flags into a separate struct from Site.
This commit is contained in:
+2
-2
@@ -34,8 +34,8 @@ Page :: struct {
|
||||
// TODO: What is the lifetime of pages?
|
||||
walk_content :: proc(site: ^Site) -> []Page {
|
||||
content_path := site.content_dir
|
||||
include_drafts := site.drafts
|
||||
sectionate := site.sectionate
|
||||
include_drafts := .Drafts in site.features
|
||||
sectionate := .Sections in site.features
|
||||
|
||||
allocator := site_allocator(site)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user