feat: journal-author content type

- journal-author (/blog/author/:author, :author the author slug else the
  login): references, Resolve, Records of the authors with a published
  post, Describe as a profile per locale, exact Match on the pattern
- golem15.journal.author_pages false resolves nothing, describes empty
  URLs and never matches
This commit is contained in:
Jakub Zych
2026-11-04 10:19:10 +01:00
parent e8e77a154c
commit 805bfdb837
7 changed files with 370 additions and 6 deletions

View File

@@ -102,7 +102,7 @@ func TestContentDescriptors(t *testing.T) {
_, gdb, reg := bootMenuItemTypes(t, map[string]string{})
s := seedContent(t, gdb)
if got := contentKeys(reg.ContentTypes()); got != "journal-category journal-post journal-tag" {
if got := contentKeys(reg.ContentTypes()); got != "journal-category journal-post journal-tag journal-author" {
t.Fatalf("ContentTypes = %s", got)
}
for controller, key := range map[string]string{