Loop through a tags with / "backslash"

In my frontmatter, I have a params with / backslash for a reason.

Looks like this:

date = 2022-03-29T16:00:00Z
"post/tags" = ["tag1"]
title = "Ttile"

I want to display all tags on every page. I’m not sure how to use the “link/tags” on a loop.
I know displaying all tags could something like this

 {{range $name, $taxonomy := .Site.Taxonomies.tags}}
    {{ end }}

But now, I have “post/tags” as the key. I’m not sure how to use it in range.


I found it!

   {{range $name, $taxonomy := (index .Site.Taxonomies "post/tags")}}
        <a href="/post/tags/{{$name | urlize}}"> #{{ $name }} </a>
    {{ end }}

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.