# How to get permalink of Taxonomies in templates?

**URL:** https://discourse.gohugo.io/t/how-to-get-permalink-of-taxonomies-in-templates/12927
**Category:** support
**Created:** [July 13, 2018, 11:16pm UTC](https://discourse.gohugo.io/t/how-to-get-permalink-of-taxonomies-in-templates/12927 "2018-07-13T23:16:59Z")
**Posts on this page:** 1
**Showing post:** 15

<div class="post-metadata">

### Author: ![kaushalmodi](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/kaushalmodi/32/2567_2.png) [@kaushalmodi](https://discourse.gohugo.io/u/kaushalmodi)
#### Post date: [May 15, 2019, 4:14pm UTC](https://discourse.gohugo.io/t/how-to-get-permalink-of-taxonomies-in-templates/12927/15 "2019-05-15T16:14:57Z")

</div>

In the link I shared earlier, look at [this line](https://gitlab.com/kaushalmodi/hugo-theme-refined/blob/e0a6e87f245211317f2fcd13a44608fc3ebf9224/layouts/_default/terms.html#L9). Using that, I can use that `terms.html` tempalte for _any_ taxonomy term… the `.Type` returns `"tags"`, "`categories"`, whatever.

… and then see how I use that `$type` in the `site.GetPage` in [this line](https://gitlab.com/kaushalmodi/hugo-theme-refined/blob/e0a6e87f245211317f2fcd13a44608fc3ebf9224/layouts/_default/terms.html#L16).

---

_[View the full topic](https://discourse.gohugo.io/t/how-to-get-permalink-of-taxonomies-in-templates/12927)._
