changes
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user