pi-www-theme-soho/layouts/index.html

19 lines
481 B
HTML
Raw Normal View History

2017-09-07 22:41:16 +03:00
{{ define "main" -}}
2014-04-27 01:25:13 +03:00
<div class="posts">
2017-09-07 22:41:16 +03:00
{{ range .Data.Pages -}}
<article class="post">
2017-09-07 22:41:16 +03:00
<h1 class="post-title">
<a href="{{ .Permalink }}">{{ .Title }}</a>
</h1>
<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}" class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</time>
{{ .Summary }}
{{ if .Truncated }}
<div class="read-more-link">
<a href="{{ .RelPermalink }}">Read More…</a>
</div>
{{ end }}
</article>
2017-09-07 22:41:16 +03:00
{{- end }}
2014-06-07 11:57:40 +03:00
</div>
{{- end }}