{{define "Next/archives.html"}}
<!DOCTYPE html>
<html>
<head>
    {{template "head/head" .}}
    {{template "head/3rdstatistic" .}}
</head>
<body>
<div class="main">
    {{template "Next/header" .}}
    <div class="wrapper page">
        <h2 class="page__title">
            <span id="archiveMonthCount">0</span> <span class="ft-fade ft-13">{{.I18n.Month2}}</span>
            <span id="archiveArticleCount">0</span> <span class="ft-fade ft-13">{{.I18n.Article2}}</span>
        </h2>
        {{range .Archives}}
        <a href="{{.URL}}" class="page__item page__item--li">
            {{.Title}}
            <span class="ft-fade">{{.ArticleCount}} {{$.I18n.Space}}</span>
        </a>
        {{end}}
    </div>
    {{template "Next/side" .}}
    {{template "Next/footer" .}}
</div>
<script>
  increase({{len .Archives}}, 1000, 'archiveMonthCount', 0)
  increase({{.Statistic.StatisticArticleCount}}, 1000, 'archiveArticleCount', 0)
</script>
</body>
</html>
{{end}}