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

Alexander Bilz
12.46.2020 b9d4d4235a696003af7b1cecbacc4ec266cfe643
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{{ define "main" }}
 
<div class="about animated fadeInDown">
    {{ range first 10 .Site.RegularPages }}
        {{ if eq .Type "post"}}
        <div>
            <h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
            {{ .Summary }}
          </div>
          {{ if .Truncated }}
          <!-- This <div> includes a read more link, but only if the summary is truncated... -->
          <div>
            <a href="{{ .RelPermalink }}">Read More…</a>
          </div>
          {{ end }}
        {{ end }}
    {{ end }}
</div>
 
{{ end }}