aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/summary.html
blob: 13c94e8bba1eefb82b60348ed9dd2949cf1cb3a9 (plain)
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
<article class="bt bb b--black-10">
    <a href='{{ .Permalink }}' class="db pv4 ph3 black no-underline dim">
        <header>
            <h1 class="f2 lh-title black-90 ">
                {{ .Title }}
            </h1>
            <div class="gray">{{ .Date.Format "Mon, Jan 2, 2006" }} - {{ .FuzzyWordCount }} Words </div>
        </header>
        <p class="f4 lh-copy black-80">
            {{ .Summary }}
        </p>
        <footer>

            <nobr class="link">Continue reading →</nobr>
            {{ with .Params.thumbnailImage }}
            <img src="{{ . }}" class="mt2 br2">
            {{ else }}
                {{ if .Params.coverimage }}
                <img src="{{ .Params.coverimage }}" class="mt2 br2" />
                {{ end}}
            {{ end }}

        </footer>
    </a>
</article>