24 lines
757 B
HTML
24 lines
757 B
HTML
{{ define "main" }}
|
|
<section class="entries">
|
|
<div class="h-feed">
|
|
{{ range .Pages }}
|
|
<div class='card'>
|
|
<article class="h-entry">
|
|
<header>
|
|
<h2 class="p-name"><a href="{{ .Permalink }}" class="u-url">{{ .Title }}</a></h2>
|
|
<time class="dt-published" datetime="{{ .Date.Format `Jan 02 2006` }}">{{ .Date.Format "Jan 02, 2006" }}</time>
|
|
</header>
|
|
{{ if .Truncated }}
|
|
<div class="p-summary truncated">
|
|
{{ .Summary }}
|
|
<p><a href="{{ .RelPermalink }}">Read More…</a></p>
|
|
{{ else }}
|
|
<div class="p-summary">
|
|
{{ end }}
|
|
</div>
|
|
</article>
|
|
</div>
|
|
{{ end }}
|
|
</section>
|
|
{{ end }}
|