mirror of https://github.com/lxndrblz/anatole.git

Alexander Bilz
19.29.2022 cc80d588e9b725a2d972d90cd2f9819a85d1b531
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{{ define "main" }}
  <div
    class="archive {{ with .Site.Params.doNotLoadAnimations }}
      .
 
    {{ else }}
      animated fadeInDown
 
    {{ end }}"
  >
    <ul class="archive__list">
      {{ range .Data.Pages.GroupByDate "2006" }}
        <div class="archive__list-heading">{{ .Key }}</div>
        {{ range .Pages }}
          <ul>
            <li class="archive__list-item">
              <a class="archive__list-title" href="{{ .RelPermalink }}" title="{{ .Title }}">{{ .Title }}</a>
              <div class="archive__list-date">
                {{ if isset .Site.Params "listdateformat" }}
                  {{ .Date.Format .Site.Params.listDateFormat }}
 
 
                {{ else }}
                  {{ .Date.Format "Jan 2" }}
 
 
                {{ end }}
              </div>
            </li>
          </ul>
 
        {{ end }}
 
 
      {{ end }}
    </ul>
  </div>
 
{{ end }}