2020-01-12 06:33:02 -08:00
|
|
|
{{ define "main" }}
|
|
|
|
{{ $dateFormat := default "January 2, 2006" .Site.Params.GeekdocDateFormat }}
|
|
|
|
{{ range sort .Paginator.Pages }}
|
|
|
|
<article class="gdoc-markdown gdoc-post">
|
|
|
|
<header>
|
|
|
|
<h1 class="gdoc-post__title">
|
|
|
|
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
|
|
|
</h1>
|
2020-06-01 06:59:02 -07:00
|
|
|
<div class="gdoc-post__date">{{ .Date.Format $dateFormat }}</div>
|
2020-01-12 06:33:02 -08:00
|
|
|
</header>
|
2020-05-31 09:20:39 -07:00
|
|
|
<div>
|
2020-01-12 06:33:02 -08:00
|
|
|
{{ .Summary }}
|
|
|
|
{{ if .Truncated }}
|
|
|
|
<a class="gdoc-post__readmore" title="Read full post" href="{{ .RelPermalink }}">
|
2020-06-01 06:59:02 -07:00
|
|
|
Read full post
|
2020-01-12 06:33:02 -08:00
|
|
|
</a>
|
|
|
|
{{ end }}
|
2020-05-31 09:20:39 -07:00
|
|
|
</div>
|
2020-01-12 06:33:02 -08:00
|
|
|
</article>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|