Yes, it will be automatic list of all pages on the website but you have to put your code in liquid, in page content, liquid code does not work.
Thanks!
Add that code in directly in theme code in that template or add a custom liquid section in newly created template
Please check if you are able to do that on your side or you need more assistance.
Thanks!
thanks for this solution! But I wonder if there is a way to show only a certain type of pages? For example pages with the prefix “/pages/forfattare/xxxx”.
This is exactly what I have done. But now I want to show these metaobject pages for the visitor (and for Google) in a good way. I can’t find out how I can showcase them. If it were a blog I could create a page and set up a section for showing blog posts, but all these metaobject pages is just there in the background - hopefully Google find them with the sitemap (seems to be present there), but a visitor can’t find them at all. These pages isn’t even searchable - though I have asked Search & Discovery to show search results for “Pages” - it seems only show manual, ordinary pages.
Those are already searchable if you have enabled them from metaobject definition. And those are included in sitemap as well. To show them to the visitor you can add them to navigation, you can add other sections to these from metaobject page template and you can get their link from content tab in left side bar in admin