From 736407e4183adae07f8ed11121c9c4a641cf7f60 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sun, 15 Oct 2017 09:47:38 -0700 Subject: [PATCH] fixing samples --- .gitignore | 2 +- basic/main.go | 2 +- bootstrap/main.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 378eac2..c419571 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -build +dst diff --git a/basic/main.go b/basic/main.go index 7fd7730..f87cc07 100644 --- a/basic/main.go +++ b/basic/main.go @@ -15,7 +15,7 @@ type builder struct{} func (b *builder) Build(srcDir, dstDir string) { errs := goldsmith.Begin(srcDir). Chain(frontmatter.New()). - Chain(markdown.NewCommon()). + Chain(markdown.New()). Chain(layout.New("layouts/*.html")). End(dstDir) diff --git a/bootstrap/main.go b/bootstrap/main.go index 6fe4322..3013ce2 100644 --- a/bootstrap/main.go +++ b/bootstrap/main.go @@ -118,5 +118,5 @@ func (b *builder) Build(srcDir, dstDir string) { } func main() { - devserver.DevServe(new(builder), 8080, "src", "build", "layouts") + devserver.DevServe(new(builder), 8080, "src", "dst", "layouts") }