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