I just split my user/pages/01.blog into
user/pages/01.blog/dsposts
user/pages/01.blog/oposts
Within each folder are various posts of type ‘dsposts’ and ‘oposts’.
But when I did that the relatedpages stopped working When they are all in the same folder, relatedpages works
I have been editing 7 or 8 different files to try and get the config correct, but I am at my wit’s end at this point what else to edit.
Thanks
I have edited my 01.blog/blog.md to be
content:
items:
- @page: /blog/dsposts
- @page: /blog/oposts
and in both 01.blog/dsposts/blog.md and 01.blog/oposts/blog.md I have
content:
items:
- @self.children
The posts in /dsposts, in item.md, has (only relevent line shown)
blogtype: dsblog
taxonomy:
category: blog
tag: [Argentina]
type: dspost
And the posts in /oposts, in item.md, has
blogtype: oblog
taxonomy:
category: blog
tag: [Argentina]
type: opost
In user/config/plugins/relatedpages.yaml I have tried the various setting for filter.items
@page: /blog
@page: /blog/dsposts,
@taxonomy: tag
@taxonomy: type
@page: blogtype (defined in item.md)
where ‘type’ in a taxonomy in site.yaml as defined as either ‘dsblog’ or ‘oblog’ in item.md
the plugins/relatedpages/blueprints.yaml has
filter.items:
type: multilevel
label: PLUGIN_REL_PAGES.ITEMS
value_only: true
validate:
type: array