From: Serge A. Zaitsev Date: Sat, 29 Aug 2015 13:17:13 +0000 (+0200) Subject: added rendering support for html and xml X-Git-Tag: 0.0.1~34 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=39484fddb01606d0001c65f8236862e67e461b43;p=aya.git added rendering support for html and xml --- diff --git a/zs.go b/zs.go index 38aec24..dc8b7d5 100644 --- a/zs.go +++ b/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)