fixing samples
This commit is contained in:
parent
d6bd27c51a
commit
736407e418
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
build
|
dst
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
@ -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")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user