Category List Code Sample

Here is some example code and CSS to build a category list page for the blog. This is just an example and you have the flexibility to lay out the page to suit your own design.

Below is a screenshot of the layout that this code will build.  

HTML:

Below is the HTML / Branch code that would go in the Template field for the Category List content template. 

{if #categories}
  <h1>Categories</h1>
  <ul class="category list">
    {loop items="#categories" value="category"}
      {if #category.postCount > 0}
        <li><a href="{#category.url}">{#category.name}</a></li>
      {/if}
    {/loop}
  </ul>
{/if}