{{ define "main" }}
<main class="list container py-6">
    {{- if or .Title .Content -}}
    <div class="row py-3">
        <div class="col">
            {{ with .Title }}<h3 class="display-4">{{ . }}</h3>{{ end }}
            {{- with .Content -}}
            <div class="content">
                {{ . }}
            </div>
            {{- end -}}
        </div>
    </div>
    {{- end -}}
    <div class="row row-cols-1 row-cols-lg-3">
        {{ range $name, $taxonomy := .Site.Taxonomies.tags }}
        <div class="col">
            <a href="{{ $.Site.BaseURL }}tags/{{ $name }}" style="text-decoration: none;">
                <div class="card h-100" data-aos="zoom-in">
                    <div class="card-body" data-aos="zoom-in">
                        <h4 class="card-title" style="margin-bottom: 0px; "><i class="fas fa-tag mr-2"></i>[{{ len $taxonomy }}] {{ $name }}</h4>
                    </div>
                </div>
            </a>
        </div>
        {{ end }}

    </div>
</main>
{{ end }}
