I have a five part post series that I want to publish under a custom collection I will define in routes.yaml.
On the collections base page, example.com/collection/, I want to have a brief explainer about the collection/series. My thought was to publish a post with that information with the same url, but the custom collection overrides the post.
Hey @adalsteinnk! You could use the content from a page and use the #get helper to pull that page content into the top of the collection page? That’s how I would do it. Take a look at the docs about using the #get helper to pull content from a certain page or post:
I’m not sure this will work, but I suppose you’ll want to change current to the current page slug. What are you trying to achieve? Page content for each collection page?
Thanks for getting back to me. I hope you are well sir.
Yes, what I would like to do is have a landing page for each collection with an intro. Something similar to this page: Phu Quoc - Cruising Vietnam. However, with this page, I’ve built a collection template just for that collection. I was wondering if there was a way to do this dynamically matching a page URL or tag to a collection.
Hey @DavidDarnes thanks for the reply. I wanted more than 500 characters as I’d like to use that collection page as a pillar piece with the ability to add images, etc. But it’s fine, I’m just going to create a template for each collection. That way I have more control and flexibility over the content. Thanks so much for your help, really appreciate it.