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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user