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

topic.terms.html « taxonomy « layouts - github.com/mmrath/hugo-bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ac817100c5ec7c1f103c2b8b6d8dc1d2693e10f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{{ partial "head" . }}
<section id="main-content" class="container main_content terms topic">
  <header class="container">
    {{ partial "bloc/content/h1-title" . }}
  </header>
  {{ $baseurl := .Site.BaseURL }}
  {{ $data := .Data }}
  {{ range $key,$value := .Data.Terms.Alphabetical }}
  <article class="container">
    <h2>
      <a href="{{ $baseurl }}{{ $data.Plural }}/{{ $value.Name | urlize }}">{{ $value.Name }}</a>
    </h2>
    <ul>
      {{ range $value.Pages.ByTitle }}
      <li>
        <a href="{{ .Permalink }}">{{ .Title }}</a>
      </li>
      {{ end }}
    </ul>
  </article>
  {{ end }}
</section>
{{ partial "foot" . }}