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

@@ -9,7 +9,8 @@ import (
// MenuItemTypes registers the Journal menu item types under their PHP keys
// (classes.MenuItemTypes) with a lazy accessor of the booted app, so menus
// and sitemaps can address Journal posts and categories through the
// framework's menu item type registry.
// framework's menu item type registry; posts, categories, tags and author
// pages (journal-author) carry content descriptors.
func (p *Plugin) MenuItemTypes() []pact.MenuItemType {
return classes.MenuItemTypes(func() *backpack.App {
if p == nil {