title: Rendering posts from a particular category in Hugo
body: <p>I started with Hugo but dont find good examples for customization.
  I need to render all posts in a category called e.g. &quot;video&quot; to show on main site within a template &quot;list.html&quot;.</p>
  <p>How to change the code from  term.html template to adress only this single category? Any help would be deeply appreciated!</p>
  <pre><code>&lt;div class=&quot;container&quot;&gt;
  &lt;article&gt;
  &lt;main&gt;
  &lt;h1&gt;{{ $.Scratch.Get &quot;Title&quot; }}&lt;/h1&gt;
  
  &lt;ul class=&quot;terms&quot;&gt;
    {{ range $key, $value := .Data.Terms }}
    &lt;li&gt;
      &lt;a href=&quot;{{ (print &quot;/&quot; $.Data.Plural &quot;/&quot; $key) | relURL }}&quot;&gt;
        {{ $key }}
      &lt;/a&gt;
      ({{ len $value }})
    &lt;/li&gt;
    {{ end }}
  &lt;/ul&gt;
  &lt;/main&gt;
  &lt;/article&gt;
  &lt;/div&gt;
  </code></pre>