I have a blog, and in the sidebar I have listed all tags in use. I would like to link each tag - when you click it I want to link to a page that lists all the blog entries which have that tag applied to them. Cant find this in the docs.. would someone mind helping? Here is my code so far:
<div class="tagblock">
{% set entries = craft.entries.section('blog').limit(null) %}
{% for tag in craft.tags %}
<div class="tag"><a href="{{ url('blog-page/'~tag.id) }}">{{ tag.title }}</a></div>
{% endfor %}
</div>
MY RESULTS: This code is linking to for example mysite.com/blog-page/88 - and giving me a page not found. I have a template blog-page and the path is correct as the page loads if you remove the tag-id off the end.
Thanks