You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we have a "one-pager" structure - i.e., a 'Parent Page' where the children pages represent sections of the parent page, rather than separate pages in their own right - we run into an issue: the plugin seems to create separate URL entries in the sitemap for each of the 'sections' of the Parent Page (because in Kirby each section is a child page of its own).
While we can manually exclude all these subpages from the sitemap, this is also not what we want - because these sections/children pages have images that we DO want listed in the sitemap. If we exclude them from the listing, we also exclude their images...
So, what is required in this use-case is for the sitemap to be able to create a 'Parent Page' entry, that would:
automatically ignore all children pages (ie., exclude them from the sitemap)
aggregate the files/images of the children pages into the entry for the Parent Page
Real-world example: we have a site with a Home Page, which is made up of 8 different sections - 'hero banner', 'about us', 'our services', testimonials', 'case studies', 'partners', 'contact' and 'footer'. As many of these sections are quite complex, the Home Page is setup as a Parent Page, and each section is setup as a child page.
In this setup, the plugin will create 9 entries: one for the Home Page, and then one entry for each one of the sections (child pages), entering the child page URLs directly in the sitemap. The images used in each section are listed under the entry for that section/child page in the sitemap.
What we need is to have just ONE entry - for the Home Page - with all images (for all child pages) listed under that one entry...
The text was updated successfully, but these errors were encountered:
When we have a "one-pager" structure - i.e., a 'Parent Page' where the children pages represent sections of the parent page, rather than separate pages in their own right - we run into an issue: the plugin seems to create separate URL entries in the sitemap for each of the 'sections' of the Parent Page (because in Kirby each section is a child page of its own).
While we can manually exclude all these subpages from the sitemap, this is also not what we want - because these sections/children pages have images that we DO want listed in the sitemap. If we exclude them from the listing, we also exclude their images...
So, what is required in this use-case is for the sitemap to be able to create a 'Parent Page' entry, that would:
Real-world example: we have a site with a Home Page, which is made up of 8 different sections - 'hero banner', 'about us', 'our services', testimonials', 'case studies', 'partners', 'contact' and 'footer'. As many of these sections are quite complex, the Home Page is setup as a Parent Page, and each section is setup as a child page.
In this setup, the plugin will create 9 entries: one for the Home Page, and then one entry for each one of the sections (child pages), entering the child page URLs directly in the sitemap. The images used in each section are listed under the entry for that section/child page in the sitemap.
What we need is to have just ONE entry - for the Home Page - with all images (for all child pages) listed under that one entry...
The text was updated successfully, but these errors were encountered: