aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/summary.html
blob: 379694cffbfcb405f86ed9b41b227724fd13dfbf (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 mw7 center">
    <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>