title: How to display Hugo categories used to create list
body: <p>In my Hugo list.html page that is accessed when a user clicks on a category, I'd like the user to be able to see which category they clicked on by displaying it.</p>
  
  <p>I've tried the following code which I think is attempting to get it from the URL:</p>
  
  <pre><code>{{ range .Params.categories }}
      &lt;a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}"&gt;{{ . }}&lt;/a&gt; 
  {{ end }}
  </code></pre>
  
  <p>And my config.toml includes the relevant lines:</p>
  
  <pre><code>[taxonomies]
      tag = "tags"
      category = "categories"
  </code></pre>
  
  <p>Presently, nothing is displayed, and no 'a' tags are generated.</p>