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:
2
zs.go
2
zs.go
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user