aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/summary.html
blob: 20c8d9cb6953e88f0e96bc249e699f6ca61fd985 (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="ba br2 b--black-10 mw7 mh3-ns mv3 bg-near-white">
    <a href='{{ .Permalink }}' class="db pa4-ns pa2 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 - {{ .ReadingTime }} min read</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 grow">
            {{ else }}
                {{ if .Params.cover }}
                <img src="{{ .Params.cover }}" class="mt2 br2 grow" />
                {{ end}}
            {{ end }}

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