2018-01-24 16:42:50 +07:00
|
|
|
{{ define "header" -}}
|
|
|
|
{{ partial "header.html" . }}
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
{{ define "content" -}}
|
|
|
|
<div class="posts">
|
|
|
|
{{ range .Data.Pages -}}
|
2018-01-25 16:57:13 +07:00
|
|
|
{{ if ne .Section "about" }}
|
|
|
|
<div class="post">
|
|
|
|
<h1 class="post-title"><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
|
|
|
|
<span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
|
|
|
|
{{ .Summary }}
|
|
|
|
{{ if .Truncated }}
|
|
|
|
<div class="read-more-link">
|
|
|
|
<a href="{{ .RelPermalink }}">Read More…</a>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
2018-01-24 16:42:50 +07:00
|
|
|
{{- end }}
|
2017-10-01 11:26:37 +08:00
|
|
|
</div>
|
2017-09-07 21:41:16 +02:00
|
|
|
{{- end }}
|
2018-01-24 16:42:50 +07:00
|
|
|
|
|
|
|
{{ define "footer" -}}
|
2017-09-07 21:41:16 +02:00
|
|
|
{{- end }}
|