mirror of
https://git.mills.io/prologic/zs
synced 2024-11-22 05:16:11 +03:00
added rendering support for html and xml
This commit is contained in:
parent
862f4d7162
commit
39484fddb0
2
zs.go
2
zs.go
@ -204,6 +204,8 @@ func buildAll(once bool) {
|
|||||||
if ext == ".md" || ext == ".mkd" {
|
if ext == ".md" || ext == ".mkd" {
|
||||||
log.Println("mkd: ", path)
|
log.Println("mkd: ", path)
|
||||||
return buildMarkdown(path)
|
return buildMarkdown(path)
|
||||||
|
} else if ext == ".html" || ext == ".xml" {
|
||||||
|
return buildPlain(path, map[string]string{})
|
||||||
} else {
|
} else {
|
||||||
log.Println("raw: ", path)
|
log.Println("raw: ", path)
|
||||||
return copyFile(path)
|
return copyFile(path)
|
||||||
|
Loading…
Reference in New Issue
Block a user