add go.mod and go.sum

git-svn-id: file:///srv/svn/repo/aya/trunk@44 cec141ff-132a-4243-88a5-ce187bd62f94
This commit is contained in:
sergii.zaitsev
2019-09-23 08:15:24 +00:00
parent 2088eca372
commit be5d92afe6
3 changed files with 23 additions and 1 deletions

2
zs.go
View File

@@ -191,7 +191,7 @@ func buildMarkdown(path string, w io.Writer, vars Vars) error {
if err != nil {
return err
}
v["content"] = string(blackfriday.MarkdownCommon([]byte(content)))
v["content"] = string(blackfriday.Run([]byte(content)))
if w == nil {
out, err := os.Create(filepath.Join(PUBDIR, renameExt(path, "", ".html")))
if err != nil {