tegories-container">
<!-- iterate over all the unique categories to display under them the
tags that are assigned to those categories -->
{{ range $uniqueCategories }}
    <h3 id="{{ urlize . }}">{{ . }}</h3>
    <ul>
        {{ $currentCategory := . }}
        {{ $categoryPermalink := "" }}
        <!-- iterate over all the tags to check if
        they are part of the current category -->
        {{ range sort $tags "Title" "asc" }}
            <!-- check if the current tag is part of the current category