Keep note ownership in frontmatter and shiz

This commit is contained in:
Maximilian Friedersdorff 2025-07-31 17:02:08 +01:00
parent 25bcf4d706
commit 03b6bb12ca
6 changed files with 136 additions and 54 deletions

View file

@ -10,6 +10,7 @@ import (
"forgejo.gwairfelin.com/max/gonotes/internal/conf"
"forgejo.gwairfelin.com/max/gonotes/internal/middleware"
"forgejo.gwairfelin.com/max/gonotes/internal/notes"
"forgejo.gwairfelin.com/max/gonotes/internal/notes/views"
)
@ -23,6 +24,11 @@ func main() {
conf.LoadConfig(confFile)
err := notes.Init()
if err != nil {
log.Fatal(err)
}
log.SetOutput(os.Stdout)
router := http.NewServeMux()