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

list.html « tags « layouts - github.com/fiatjaf/classless-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e22bbc3da79ac79db30f5c245088ac8a40720b14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{{ define "title" }}tag: {{.Data.Term}} | {{.Site.Title}}{{ end }}

{{ define "description" }}Items tagged as '{{.Data.Term}}' on {{.Site.Title}}{{ end }}

{{ define "main" }}
<header>
  <h1>{{.Title}}</h1>
</header>
<section>
  <ul>
    {{ range .Data.Pages.ByDate }}
    <li>
      <article>
        {{ partial "article-header.html" . }}
        {{ if $.Site.Params.show_summaries}}
        <div>{{.Summary}}</div>
        {{ end }}
      </article>
    </li>
    {{ end }}
  </ul>
</section>
{{ end }}