chore: better resource loading
/ publish (push) Successful in 9m23s

This commit is contained in:
2026-03-08 01:05:57 +01:00
parent eab7eb3879
commit 01b24f830f
11 changed files with 26 additions and 13 deletions
-3
View File
@@ -4,7 +4,6 @@ import (
"context"
"errors"
"fmt"
"log/slog"
"regexp"
"strings"
@@ -57,8 +56,6 @@ func (s *Service) getPageHeaders(ctx context.Context, uid string) (page PageHead
}
}
slog.Debug("loaded page infos", "cover", coverImage, "content", contentMD)
page.md, err = s.fs.Read(contentMD.Path())
if err != nil {
return