1

fixing samples

This commit is contained in:
Alex Yatskov 2017-10-15 09:47:38 -07:00
parent d6bd27c51a
commit 736407e418
3 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
build dst

View File

@ -15,7 +15,7 @@ type builder struct{}
func (b *builder) Build(srcDir, dstDir string) { func (b *builder) Build(srcDir, dstDir string) {
errs := goldsmith.Begin(srcDir). errs := goldsmith.Begin(srcDir).
Chain(frontmatter.New()). Chain(frontmatter.New()).
Chain(markdown.NewCommon()). Chain(markdown.New()).
Chain(layout.New("layouts/*.html")). Chain(layout.New("layouts/*.html")).
End(dstDir) End(dstDir)

View File

@ -118,5 +118,5 @@ func (b *builder) Build(srcDir, dstDir string) {
} }
func main() { func main() {
devserver.DevServe(new(builder), 8080, "src", "build", "layouts") devserver.DevServe(new(builder), 8080, "src", "dst", "layouts")
} }