list.html 616 Bytes
Newer Older
1
{{ partial "header.html" . }}
wbar's avatar
wbar committed
2
3
4
5
6
7

  <article>
    <header>
      <h1>Archives</h1>
    </header>

8
9
10
11
12
13
14
15
16
17
  {{ $pages := (where .Site.RegularPages "Section" "in" .Site.Params.section_on_frontpage) }}
  {{ range ($pages.GroupByDate "2006") }}
    <h2>{{ .Key }}</h2>
    <ul class="archives-list">
      {{ range .Pages }}
      <li>
          <span><a href="{{ .RelPermalink }}">{{ .Title }}</a></span>
          <span class="articles-metadata">{{ partial "article_date.html" .}}</span>
      </li>
      {{ end }}
wbar's avatar
wbar committed
18
    </ul>
19
  {{ end}}
wbar's avatar
wbar committed
20
21
22
23
24
25
26

  <!--
    <footer>
    </footer>
  -->
  </article>

27
{{ partialCached "footer.html" . }}