]> Nishi Git Mirror - aya.git/commitdiff
added rendering support for html and xml
authorSerge A. Zaitsev <zaitsev.serge@gmail.com>
Sat, 29 Aug 2015 13:17:13 +0000 (15:17 +0200)
committerSerge A. Zaitsev <zaitsev.serge@gmail.com>
Sat, 29 Aug 2015 13:17:13 +0000 (15:17 +0200)
zs.go

diff --git a/zs.go b/zs.go
index 38aec242010df6780a38c168caf79286b716996a..dc8b7d56583c727852ea13a2f308981d2c705061 100644 (file)
--- 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)