title: HUGO range function with dynamic value
body: <p>I have a list page, where contents needs to be rendered based upon value from URL.</p>
  <p>this is my current implementation, I am able to render the contents but only for one taxonomy (i.e) technology.</p>
  <pre><code>      {{ range .Site.Taxonomies.categories.technology }}
        &lt;div class=&quot;col-lg-4 col-md-6 blog-card has-border&quot;&gt;
          {{ .Render &quot;article&quot; }}
        &lt;/div&gt;
        {{ end }}
  </code></pre>
  <p>I tried to use the below method to get the string from URL, but its not working.</p>
  <pre><code>  {{ $category:= urls.Parse .Permalink }}
        &lt;p&gt;{{ $category.Path }}&lt;/p&gt;
   {{ range .Site.Taxonomies.categories $category }}
        &lt;div class=&quot;col-lg-4 col-md-6 blog-card has-border&quot;&gt;
          {{ .Render &quot;article&quot; }}
        &lt;/div&gt;
        {{ end }}
  </code></pre>
  <p>For example the URL is</p>
  <blockquote>
  <p>localhost/public/categories/technology/</p>
  </blockquote>
  <p>I want to get the technology and append it to the function.</p>