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