Rev | Line | |
---|
[16971] | 1 | {{ with .Params.tags }} |
---|
| 2 | <div class="footer"> |
---|
| 3 | {{ else }} |
---|
| 4 | <div class="footer no-tags"> |
---|
| 5 | {{ end }} |
---|
| 6 | |
---|
| 7 | {{ with .Params.tags }} |
---|
| 8 | <div class="tags"> |
---|
| 9 | <i class="fa fa-tags"></i> |
---|
| 10 | <div class="links"> |
---|
| 11 | {{ range . }} |
---|
| 12 | {{ $urlValue := replace . " " "-" | lower}} |
---|
| 13 | {{ with $.Site.GetPage (printf "/tags/%s" $urlValue) }} |
---|
| 14 | <a href="{{ .Permalink }}">{{ .Title }}</a> |
---|
| 15 | {{ end }} |
---|
| 16 | {{ end }} |
---|
| 17 | </div> |
---|
| 18 | </div> |
---|
| 19 | {{ end }} |
---|
| 20 | |
---|
| 21 | {{ if .IsTranslated }} |
---|
| 22 | <div class="languages"> |
---|
| 23 | <i class="fa fa-language"></i> |
---|
| 24 | <div class="links"> |
---|
| 25 | {{ range .Translations }} |
---|
| 26 | <a href="{{ .Permalink }}">{{ .Lang }}</a> |
---|
| 27 | {{ end }} |
---|
| 28 | </div> |
---|
| 29 | </div> |
---|
| 30 | {{ end }} |
---|
| 31 | </div> |
---|
Note: See
TracBrowser for help on using the repository browser.