mirror of
https://git.mills.io/prologic/zs
synced 2025-04-05 14:23:32 +03:00
added rendering support for html and xml
This commit is contained in:
parent
862f4d7162
commit
39484fddb0
1 changed files with 2 additions and 0 deletions
2
zs.go
2
zs.go
|
@ -204,6 +204,8 @@ func buildAll(once bool) {
|
|||
if ext == ".md" || ext == ".mkd" {
|
||||
log.Println("mkd: ", path)
|
||||
return buildMarkdown(path)
|
||||
} else if ext == ".html" || ext == ".xml" {
|
||||
return buildPlain(path, map[string]string{})
|
||||
} else {
|
||||
log.Println("raw: ", path)
|
||||
return copyFile(path)
|
||||
|
|
Loading…
Add table
Reference in a new issue