{{ define "main" }}
<article>
<div class="post-content">
{{ $posts := where .Site.RegularPages "Section" "posts" }}
{{ range ($posts.GroupByDate "2006") }}
<h2 class="a-archives" style="margin-top:20px" uk-scrollspy="cls: uk-animation-slide-left-small; delay: 100">{{ .Key }}</h2>
<div uk-scrollspy="target: > div; cls: uk-animation-slide-left-small; delay: 80">
{{ range .Pages }}
<div style="margin:8px 0">
<span class="articles_date_time">{{ .Date.Format "01/02" }}</span>
<a class="a-archives" href="{{ .RelPermalink }}">{{ .Title }}</a>
</div>
{{ end }}
</div>
{{ end }}
</div>
</article>
{{ end }}
