{{- $context := .Context -}}
{{- $limit := default 10 .Params.limit -}}
<section class="widget tagCloud">
    <a href="/categories">
        <div class="widget-icon">
            {{ partial "helper/icon" "book-2" }}
        </div>
        <h2 class="widget-title section-title">Projects</h2>
        <!-- {{ T "widget.categoriesCloud.title" }} -->
    </a>

    <div class="tagCloud-tags">
        {{ range first $limit $context.Site.Taxonomies.categories.ByCount }}
        <a href="{{ .Page.RelPermalink }}" class="font_size_{{ .Count }}">
            {{ .Page.Title }}
        </a>
        {{ end }}
    </div>
</section>