hugo-theme-hyde-hyde/layouts/index.html

18 lines
415 B
HTML
Raw Normal View History

2017-09-07 19:41:16 +00:00
{{ define "main" -}}
2014-04-26 22:25:13 +00:00
<div class="posts">
2017-09-07 19:41:16 +00:00
{{ 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 }}
2014-04-26 22:25:13 +00:00
</div>
2017-09-07 19:41:16 +00:00
{{- end }}
2014-06-07 08:57:40 +00:00
</div>
2017-09-07 19:41:16 +00:00
{{- end }}