twig-tips

ALWAYS use the url() function.

Yes, ALWAYS.

https://craftcms.com/docs/3.x/dev/functions.html#url

Nopeā€¦

<a href="/resources/?category={{ category.id }}">Category Link</a>

Yep!

<a href="{{ url('resources', {category: category.id}) }}">Category Link</a>