Welcome to mirror list, hosted at ThFree Co, Russian Federation.

content_card_footer.html « partials « layouts - github.com/spech66/bootstrap-bp-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fc128f70fd0c23660b2c75c557fc4d4fb0b30f80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<div class="card-footer">
    <small class="text-muted">
        {{ if ne .Type "page" }}
            {{ if gt .Params.categories 0 }}
                <i class="fas fa-folder text-primary"></i>&nbsp;
                {{ range .Params.categories }}
                    <a href="{{ "/categories/" | relLangURL }}#{{ . | urlize }}" class="badge badge-primary"><span>{{ . }}</span></a>
                {{ end }}
                <br />
            {{ end }}
            {{ if gt .Params.tags 0 }}
                <i class="fas fa-tags text-secondary"></i>&nbsp; 
                {{ range .Params.tags }}
                    <a href="{{ "/tags/" | relLangURL }}#{{ . | urlize }}" class="badge badge-secondary"><span>{{ . }}</span></a>
                {{ end }}
            {{ end }}
        {{ end }}
    </small>
</div>