I was trying to get the tags of all the blog posts under /blog
page. If you wanted to display these tags related to ONLY the blog on your page, maybe this could help you:
{{ $blog := .Site.GetPage "/blog"}}
{{ $slice := slice }}
{{ range $page := $blog.Data.Pages }}
{{ range $tag := $page.Params.tags }}
{{ $slice = $slice | append $tag }}
{{ end }}
{{ end }}
{{ range $uniqueTags := $slice | uniq }}
{{ $uniqueTags }} <br/>
{{ end }}
This should give out all the tags uniquely, same goes to categories or any other taxonomy (or params).