hugo-theme-hyde-hyde/layouts/index.html
2018-01-24 16:42:50 +07:00

23 lines
No EOL
560 B
HTML

{{ define "header" -}}
{{ partial "header.html" . }}
{{- end }}
{{ define "content" -}}
<div class="posts">
{{ range .Data.Pages -}}
<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 }}
</div>
{{- end }}
{{ define "footer" -}}
{{- end }}