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

list.html « _default « layouts - github.com/kritoke/darksimplicity.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f9382959b17e9da1eb46e6c0863e1ad1a9cf287d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{{ partial "header.html" . }}
{{ $paginator := .Paginate ( where .Data.Pages "Type" "in" (or "posts" "post")) 5 }}
{{ range $paginator.Pages }}
  <section>
    <h3><a class="post-title-link" href="{{ .Permalink }}">{{ .Title }}</a></h3>{{ if isset .Params "tags" }}
        <div class="tags">tags: &nbsp;{{ range  .Params.tags }}
            <a class="tag-link" href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }} </a>{{ end }}
        </div>
    {{ end }}
    <div class="content">
      <p>{{.Summary}}</p>
    </div>
  </section>
{{ end }}
    {{ partial "pagination.html" . }}{{ partial "footer.html" . }}