blob: 3c991d306d84245e5d45ea113e69b0189df6fcd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{{ partial "header" . }}
{{ partial "nav" . }}
<section class="section">
<div class="container">
{{- $pages := . -}}
{{- if .IsHome -}}
{{- $pages = .Site.RegularPages -}}
{{- else -}}
{{ $pages = .Pages -}}
{{- end -}}
{{ $paginator := .Paginate (where $pages "Params.hidden" "ne" true) }}
{{ range sort .Paginator.Pages }}
<article>
<div class="subtitle tags is-6 is-pulled-right">
{{ if .Params.tags }}
{{ partial "tags" .Params.tags }}
{{ end }}
</div>
<h2 class="subtitle is-6 date">{{ .Date.Format "January 2, 2006" }}</h2>
<h1 class="title"><a href="{{ .Permalink }}">{{ .Title }}{{ partial "taxonomies_count" . }}</a>{{ if .Draft }} ::Draft{{ end }}</h1>
<div class="content">
{{ .Summary | plainify | safeHTML }}
{{ if .Truncated }}
<a class="button is-link" href="{{ .Permalink }}" style="height:28px">
Read more
</a>
{{ end }}
</div>
</article>
{{ end }}
</div>
</section>
{{ partial "pager" . }}
{{ partial "footer" . }}
|