{{define "Medium/archives.html"}}
<!DOCTYPE html>
<html>
<head>
    {{template "head/head" .}}
    {{template "head/3rdstatistic" .}}
</head>
<body>
{{template "Medium/header" .}}
{{template "Medium/nav" .}}
<div class="main">
    {{if .Setting.BasicNoticeBoard}}
    <div class="board">
        {{.Setting.BasicNoticeBoard}}
    </div>
    {{end}}
    <div class="wrapper content">
        <h2 class="module__title module__title--unmargin">
            <span>
                <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>
            </span>
        </h2>
        {{range .Archives}}
        <div class="page__item page__item--li">
            <h3>
                <a href="{{.URL}}">
                    {{.Title}}
                    <span class="ft-fade">{{.ArticleCount}} {{$.I18n.Space}}</span>
                </a>
            </h3>
        </div>
        {{end}}
    </div>
    {{template "Medium/bottom" .}}
</div>
{{template "Medium/footer" .}}
<script>
  increase({{len .Archives}}, 1000, 'archiveMonthCount', 0)
  increase({{.Statistic.StatisticArticleCount}}, 1000, 'archiveArticleCount', 0)
</script>
</body>
</html>
{{end}}