Mercurial > yakumo_izuru > aya
comparison zs.go @ 13:ece0d406f2db draft
fixed mkd extension typo
author | zaitsev.serge |
---|---|
date | Sat, 29 Aug 2015 11:47:05 +0000 |
parents | 11073a30f71f |
children | 515078352442 |
comparison
equal
deleted
inserted
replaced
12:7119cca186bf | 13:ece0d406f2db |
---|---|
191 // About to be modified, so run pre-build hook | 191 // About to be modified, so run pre-build hook |
192 run(filepath.Join(ZSDIR, "pre"), []string{}, nil, nil) | 192 run(filepath.Join(ZSDIR, "pre"), []string{}, nil, nil) |
193 modified = true | 193 modified = true |
194 } | 194 } |
195 ext := filepath.Ext(path) | 195 ext := filepath.Ext(path) |
196 if ext == ".md" || ext == "mkd" { | 196 if ext == ".md" || ext == ".mkd" { |
197 log.Println("mkd: ", path) | 197 log.Println("mkd: ", path) |
198 return buildMarkdown(path) | 198 return buildMarkdown(path) |
199 } else { | 199 } else { |
200 log.Println("raw: ", path) | 200 log.Println("raw: ", path) |
201 return copyFile(path) | 201 return copyFile(path) |