I’m using the Web Pages feature to create individual FAQ articles which is working great. I’d like to be able to create an index page to display all these on so I’ve setup a template to do that. I’m able to get a list of articles with the following code but can’t work out how to get a link to the actual pages. I assumed it would just be url or handle but I can’t work out how to access. What am I missing?
{% for faq in shop.metaobjects.faq.values %}
<li><a href="">{{ faq.title }}</a></li>
{% endfor %}
{% for faq in shop.metaobjects.faq.values %}
- [{{ faq.title }}](https://store-name.com/pages/faq/{{ faq.title | handleize }})
{% endfor %}
The approach worked for me, see video here. What’s helpful here is the Liquid handleize filter that outputs a string that you can use to create a link.