2018-01-24 09:42:50 +00:00
|
|
|
{{ define "header" -}}
|
|
|
|
{{ partial "header.html" . }}
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
{{ define "content" -}}
|
|
|
|
<div class="posts">
|
2018-04-08 11:41:56 +00:00
|
|
|
{{ range (where .Data.Pages "Type" "!=" "about").GroupBy "Section" }}
|
|
|
|
{{ range .Pages }}
|
|
|
|
<div class="post">
|
|
|
|
<h1 class="post-title"><a href="{{ .Permalink }}">{{ .Title }}</a>{{ if .Draft }}<sup><i class="fas fa-pen-square fa-xs"></i></sup>{{ end }}</h1>
|
2018-03-29 23:49:07 +00:00
|
|
|
<span class="post-date">
|
2018-03-30 08:27:52 +00:00
|
|
|
{{- .Date.Format (.Site.Params.dateformat | default "Jan 02, 2006") -}}
|
2018-03-29 23:49:07 +00:00
|
|
|
</span>
|
2018-01-25 09:57:13 +00:00
|
|
|
{{ .Summary }}
|
|
|
|
{{ if .Truncated }}
|
|
|
|
<div class="read-more-link">
|
|
|
|
<a href="{{ .RelPermalink }}">Read More…</a>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
2018-04-08 11:41:56 +00:00
|
|
|
{{- end -}}
|
2018-01-24 09:42:50 +00:00
|
|
|
{{- end }}
|
2017-10-01 03:26:37 +00:00
|
|
|
</div>
|
2017-09-07 19:41:16 +00:00
|
|
|
{{- end }}
|
2018-01-24 09:42:50 +00:00
|
|
|
|
|
|
|
{{ define "footer" -}}
|
2017-09-07 19:41:16 +00:00
|
|
|
{{- end }}
|