Page filter doesnt seem to be working for me

 {% for category in categories %}
  <a href="{{ '/blog/category/'|page({ slug: category.slug }) }}">{{ category.title }}</a>
{% endfor %}

I dont think I am doing something wrong, the link resolves to the current page always

I am not sure what I am doing wrong

Try this to see if it helps:

<a href="{{ 'blog/category'|page({ slug: category.slug }) }}">

nope, tried all the combinations, tried again now, I’m stumped

Let’s keep troubleshooting then.

When it resolves to the current page, it means it cannot find the page you want. Check to make sure there is a theme file in pages/blog/category.htm

1 Like

ok now I see where the problem is, I was assuming that the string was the url, but it is the relative path to the file?

thank you it works now, feel so silly