{{ define "main" }}
<h1>Blog</h1>
<p>Here is a list of my personal ranting from newest to oldest.</p>
<section class="post-list">
{{ range .Pages.ByPublishDate.Reverse }}
<article>
	<time datetime="{{ .Date | time.Format "2006-01-02"}}">{{ .Date | time.Format "2006-01-02"}}</time> <a class="title" href="{{ .RelPermalink }}">{{ .Title }}</a>
	{{ if .Params.tldr }}
	<div class="summary">{{.Params.tldr|markdownify}}</div>
	{{ end }} 
</article>
{{ end }}
</section>
{{ end }}
