# Render all terms of a taxonomy based on the url

**URL:** https://discourse.gohugo.io/t/render-all-terms-of-a-taxonomy-based-on-the-url/1287
**Category:** support
**Created:** [June 8, 2015, 2:12pm UTC](https://discourse.gohugo.io/t/render-all-terms-of-a-taxonomy-based-on-the-url/1287 "2015-06-08T14:12:28Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![digitalcraftsman](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/digitalcraftsman/32/4142_2.png) [@digitalcraftsman](https://discourse.gohugo.io/u/digitalcraftsman)
#### Post date: [June 8, 2015, 2:12pm UTC](https://discourse.gohugo.io/t/render-all-terms-of-a-taxonomy-based-on-the-url/1287/1 "2015-06-08T14:12:29Z")

</div>

I want to create a `terms.html` under `~/themes/<themename>/layouts/_default` that shows all terms of a taxonomy based on a url like this `example.com/tag/golang`. Tag would be Hugo’s default taxonomy and golang it’s term.

This script from the docs lists all terms of a taxonomy, but it’s static:

```auto
<ul id="all-tags">
  {{ range $name, $taxonomy := .Site.Taxonomies.tags }}
    <li><a href="/tags/{{ $name | urlize }}">{{ $name }}</a></li>
  {{ end }}
</ul>

```

Is it possible to extract the taxonomy from the url?

---

<div class="post-metadata">

### Author: ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)
#### Post date: [June 8, 2015, 2:47pm UTC](https://discourse.gohugo.io/t/render-all-terms-of-a-taxonomy-based-on-the-url/1287/2 "2015-06-08T14:47:52Z")

</div>

I’m pretty sure you get what you want out of the box.

Control the look-and-feel of that list in:

`~/themes/<themename>/_default/list.html/`

---

<div class="post-metadata">

### Author: ![digitalcraftsman](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/digitalcraftsman/32/4142_2.png) [@digitalcraftsman](https://discourse.gohugo.io/u/digitalcraftsman)
#### Post date: [June 8, 2015, 3:17pm UTC](https://discourse.gohugo.io/t/render-all-terms-of-a-taxonomy-based-on-the-url/1287/3 "2015-06-08T15:17:30Z")

</div>

I mean the `terms.html`, not the `list.html`.

The theme ‘Hyde’ doesn’t provide a `terms.html` by default. What I get in the browser looks like the page of a FTP server:

![Tag list](https://yyz2.discourse-cdn.com/flex036/uploads/gohugo/492/269d81a31c5a61fc.png)

So I created my own `terms.html`. But if I visit `example.com/categories` I would like to see all terms that belongs to the `categories` taxonomy.
