aboutsummaryrefslogtreecommitdiff
path: root/themes/flamingo/layouts/_default/summary.html
blob: e0103138d5a644f29ef999d471de29e519a84173 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<article class="list-item">
    <div class="post-title">
        <a href="{{ .Permalink }}">{{ .Title }}</a>
    </div>

    <!-- Add tags -->
    <!-- {{ range .Params.tags }}
         <a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
         {{ end }}
    -->

    <span className="date-label">
        {{ .Date.Format "2" }}{{ if in (slice 1 21 31) .Date.Day}}st{{ else if in (slice 2 22) .Date.Day}}nd{{ else if in (slice 3 23) .Date.Day}}rd{{ else }}th{{ end }} {{ .Date.Format "Jan, 2006" }}
    </span>

    <!-- <div>
         {{ .Summary }}
         {{ if .Truncated }}
         <a href="{{ .Permalink }}">Read more...</a>
         {{ end }}
         </div>
    -->
</article>