0
0
Fork 0

fix small build issues

This commit is contained in:
Gibheer 2021-09-27 21:19:46 +02:00
parent d89d164d48
commit 20bc3040e2
2 changed files with 2 additions and 4 deletions

View File

@ -1,4 +1,4 @@
package internal package main
import ( import (
"bytes" "bytes"

View File

@ -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,
}) })