blob: 0fcf803ee73091e19e22053e55f2f96d90a31525 (
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
35
|
<!-- same as index.html for tags listing -->
<div class="container">
{{ partial "header" . }}
{{ partial "nav" . }}
<main class="container">
{{ if .Pages }}
{{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups}}
<h1 class="title is-3">{{ .Key }}</h1>
{{ range where .Pages "Section" "posts" }}
<article class="columns">
<div class="column is-2">
<h6 class="is-inline" style="white-space: nowrap">{{ .Date.Format "Jan 2" }}</h2>
</div>
<div class="column">
<h2 class="subtitle is-inline is-size-4-mobile is-size-3-desktop"><a href="{{ .Permalink }}">{{ .Title }}</a>{{ if .Draft }} ::Draft{{ end }}</h1>
<div class="content is-hidden-mobile">
{{ .Summary | plainify | safeHTML | truncate 400 }}
{{ if .Truncated }}
<br>
<a class="button is-marginless is-paddingless" href="{{ .Permalink }}">
<span class="icon-link is-small" style="line-height: 100%">
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
</span>
<p style="padding:0 5px"></p>more</p>
</a>
{{ end }}
</div>
</article>
{{ end }}
{{ end }}
{{ end }}
</main>
{{ partial "pager" . }}
{{ partial "footer" . }}
</div>
|