fix small build issues
This commit is contained in:
parent
d89d164d48
commit
20bc3040e2
|
@ -1,4 +1,4 @@
|
||||||
package internal
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
|
|
4
main.go
4
main.go
|
@ -10,8 +10,6 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
"path"
|
"path"
|
||||||
|
|
||||||
"git.zero-knowledge.org/gibheer/zero-blog/internal"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -42,7 +40,7 @@ func main() {
|
||||||
log.Fatalf("could not access files dir: %s", err)
|
log.Fatalf("could not access files dir: %s", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
catalog, err := internal.NewCatalog(contentDir, internal.CatalogOptions{
|
catalog, err := NewCatalog(contentDir, CatalogOptions{
|
||||||
WithUnpublished: *withUnpublished,
|
WithUnpublished: *withUnpublished,
|
||||||
DefaultTemplate: *defaultTemplate,
|
DefaultTemplate: *defaultTemplate,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue