{{ define "main" }}
<article>
<div class="post-content">
<h1 class="post-title" uk-scrollspy="cls: uk-animation-slide-top-small; delay: 200">归档</h1>
<div class="meta" uk-scrollspy="cls: uk-animation-slide-bottom-small; delay: 300">
<span class="meta-item">共 {{ len (where .Site.RegularPages "Section" "posts") }} 篇文章</span>
</div>
{{ $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-bottom-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 }}
