~mrls/essential

essential/layouts/tags/terms.html -rw-r--r-- 434 bytes
27db479cMauro Morales Add pic archetypes 1 year, 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{{ define "main" }}
<div>
  {{- partial "language.html" . -}}
  <h1>{{ .Title }}</h1>
  <hr>
  <div>{{ .Content }}</div>
</div>

{{ $name := .Title | lower }}
<div>
  <ul id="content-list">
    {{ $taxos := index .Site.Taxonomies $name }}
    {{ range $taxos }}
    <li>
      <a href="{{ .Page.Permalink }}" class="tag">{{ i18n .Page.Title | default .Page.Title }}</a> ({{ .Count }})
    </li>
    {{ end }}
  </ul>
</div>
{{ end }}