blob: 97db764a85b98ee4aff7a6f62b7e4ae481e970ad (
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
|
{{ $baseurl := .Site.BaseURL }}
<div class="row">
{{range $index, $page := .Paginator.Pages}}
{{ if and (modBool $index 3) (ne 0 $index) }}
</div>
<div class="row">
{{ end }}
<div class="col m4 s12">
<div class="card-panel">
<h4><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
<p>
{{if .Params.categories }}
{{ range $index, $category := .Params.categories }}
<a href="{{$baseurl}}/categories/{{ $category | urlize }}/">{{ $category }}</a>
{{ end }}
{{end}}
</p>
<p>{{ .Summary }}</p>
<p>
{{ .Date.Format "2 Jan 2006" }}
{{if .Params.tags }}
{{ range $index, $tag := .Params.tags }}
<a href="{{$baseurl}}/tags/{{ $tag | urlize }}/">#{{ $tag }}</a>
{{ end }}
{{end}}
</p>
</div>
</div>
{{ end }}
</div>
|