In all my blueprints there is a tab with SEO settings. site/blueprints/tabs/seo.yml
The kirbyzone sitemapper plugin is also used.
In the panel I can then select if the particular page should be added to the sitemap.
In the help text is a link that shows sitemap.xml:
page.title, however, understandably does not display a page title on site.yml, site.title should be there. I assume that such a query is not possible in the blueprint?
It’s more of a cosmetic issue, as no page title is shown in the help text: show “” in sitemap?
There should be the page title from “site.yml”: show “Home” in sitemap?
I have now created a separate blueprint for “site.yml” for the SEO settings.
I wanted to avoid that, if an if/else query would be possible in the blueprint like this: if blueprint is ‚site.yml‘ write {{ site.title }} else {{ page.title }}
In my case, it is not necessary to query whether the page title is empty, but whether the current blueprint is site.yml or not. The following solution works with all other templates (default.yml, contact.yml etc.), but not on the site.yml template.
In this nested layer I can’t access the help-field with extends anymore.
I duplicated templates/tab/seo.yml, renamed it and relabeled the help-field in it.
I thought I could solve this with an if-query. But with a duplicated blueprint it also works for me.