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

index.html « layouts - github.com/kritoke/darksimplicity.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 95eb43699ece012ce6492df8a09b0dac92bbf30b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{{ 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 }}" rel="tag">{{ . }} </a>{{ end }}
        </div>{{ end }}
        <div class="content"><p>{{.Summary}}</p></div>
  </section>

{{ end }}
{{ partial "pagination.html" . }}
{{ partial "footer.html" . }}