blob: 526534b44d5563c58e5e424cd8f08a6f6cb31cba (
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
|
{{ partial "header" . }}
{{ partial "nav" . }}
<section class="section">
<div class="container">
{{- $pctx := . -}}
{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}}
{{- $pages := $pctx.RegularPages -}}
{{ $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" . }}
|