source: tanzpartie-hugo/themes/bilberry-hugo-theme/layouts/_default/author.terms.html @ 17930

Last change on this file since 17930 was 16971, checked in by Henrik Bettermann, 2 years ago
File size: 805 bytes
RevLine 
[16971]1{{ define "main" }}
2
3<div class="content">
4    <div class="article-wrapper u-cf single">
5        <a class="bubble" href="{{ "/author/" | relLangURL}}">
6        <i class="fa fa-fw fa-users"></i>
7        </a>
8
9        <article class="article">
10            <div class="content">
11                <h3>{{ i18n "authors" }}</h3>
12                <hr>
13                <ul id="all-categories">
14                    {{ range $name, $taxonomy := .Site.Taxonomies.author }}
15                        {{- with site.GetPage (printf "/author/%s" (urlize $name)) -}}
16                            <li><a href="{{ .Permalink }}">{{ .Title}} ({{ $taxonomy.Count }})</a></li>
17                        {{- end -}}
18                    {{ end }}
19                </ul>
20            </div>
21        </article>
22    </div>
23</div>
24{{ end }}
Note: See TracBrowser for help on using the repository browser.