This commit is contained in:
Simon Kellet
2026-06-30 13:48:43 +01:00
parent f96b506abf
commit edf62a466f
6 changed files with 1896 additions and 22 deletions
+8 -1
View File
@@ -5,6 +5,13 @@ import "core:fmt"
import "core:os"
import "core:strings"
/*
* WIP files are denoted with an '!' at the start of the file.
* This stops the files being processed and uploaded to the site
* before you finish writing!
*/
BLOG_START_MD := `
(\
\'\
@@ -40,7 +47,7 @@ generate_blog_md_file :: proc(path: string, allocator := context.allocator) {
trim_b := strings.trim_right(b[1], ".md")
if trim_b == "index" { continue } //Ignore Index
if strings.starts_with(trim_b, "!") { continue }
if strings.starts_with(trim_b, "!") { continue } //Ignore WIP files!
append(&blog_list, blog)
}