Open nazori-eu opened 3 years ago
<section id="categories">
<span class="h1">Categories</span>
<ul class="category-list" style="list-style-type: square;">
{{ $AllRegularPagesCount := len .Site.RegularPages }}
{{ range $elem := .Site.Taxonomies.categories.Alphabetical }}
<li class="category-list-item">
<a class="category-list-link" href="{{ $elem.Page.Permalink }}">
{{- .Page.Title -}}
</a>
<span class="category-list-count">{{ .Count }}</span>
</li>
{{ end }}
</ul>
</section>
add this in index.html
Is there a way to show the categories on the main page? The same way as tags with the tagsOverview parameter on config.
If not, I would really like to see it.
Thanks, awesome theme.