added rendering support for html and xml

This commit is contained in:
Serge A. Zaitsev 2015-08-29 15:17:13 +02:00
parent 862f4d7162
commit 39484fddb0

2
zs.go
View File

@ -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)