ag belongs to the current category -->
                    <li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
                {{ end }}
            {{ end }}
        {{ end }}
        <!-- Add a misc item for content assign to the general category -->
        {{ if $categoryPermalink }}
            <li><a href="{{ $categoryPermalink }}">Miscellaneous</a></li>
        {{ end }}
    </ul>
{{ end }}

<!-- General Category for Terms without Categories -->
<h3 id="misc">Misc</h3>
<ul>
    {{ range sort $termsW