New: Learn Statamic on Laracasts!

We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Display clicked tag as a title

Aqeel Fikree September 12, 2014 by Aqeel Fikree

Here's what I have. The usual list of tags for a post using:

{{ entries:listing folder="journal" limit="10" taxonomy="true" }}
.
.
.
{{ if tags }}
  {{ tags sort_by="name" }}
    <h5 class="tag"><a href="/journal/tags/{{ name|slugify }}">#{{ name }}</a></h5>
  {{ /tags }}
{{ /if }}
.
.
.
{{ /entries:listing }}

If I click one of the tags, how can I display the clicked tag as a title in the taxonomies.html template?

Answered by Aqeel Fikree!
>>>>>>> Answered <<<<<<<
3 Replies
1 Follower