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

Alexander Bilz
21.13.2021 96483e4b5a4f945d7e992c416761496b4ef15e8c
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
40
41
42
43
{{ define "main" }}
  <div
    class="archive {{ with .Site.Params.doNotLoadAnimations }}
      .
 
    {{ else }}
      animated fadeInDown
 
    {{ end }}"
  >
    <ul class="list-with-title">
      {{ range .Data.Pages.GroupByDate "2006" }}
        <div class="listing-title">{{ .Key }}</div>
        {{ range .Pages }}
          <ul class="listing">
            <div class="listing-item">
              <div class="listing-post">
                <a href="{{ .RelPermalink }}" title="{{ .Title }}">{{ .Title }}</a>
                <div class="post-time">
                  <span class="date"
                    >{{ if isset .Site.Params "listdateformat" }}
                      {{ .Date.Format .Site.Params.listDateFormat }}
 
 
                    {{ else }}
                      {{ .Date.Format "Jan 2" }}
 
 
                    {{ end }}</span
                  >
                </div>
              </div>
            </div>
          </ul>
 
        {{ end }}
 
 
      {{ end }}
    </ul>
  </div>
 
{{ end }}