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

terms.html « tags « layouts - github.com/lubang/hugo-hello-programmer-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 26c9a75842ff504e87ed387ef69364ff4077d075 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{{ partial "header" . }}

<div class="tags">
  <h1>TAGS</h1>
  <p>{{ i18n "tagsDescription" }}</p>
  <div class="tag-list">
    {{ $baseurl := .Site.BaseURL }}
    {{ $data := .Data }}
    {{ range $key,$value := .Data.Terms.Alphabetical }}
    <div class="tag">
      <a href="{{ $baseurl }}{{ $data.Plural }}/{{ $value.Name | urlize }}">
        {{ $value.Name }} <small>({{ $value.Count }})</small>
      </a>
    </div>
    {{ end }}   
  </div>
</div>

{{ partial "footer" . }}