summaryrefslogtreecommitdiffstats
path: root/layouts/_default/teaser.html
blob: 79a99a185c625823821313959572f1f982fec57f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<article class="post">
    <header>
        <h2 class="post-title">
            <a href="{{ .Permalink }}" rel="bookmark">{{ .Title }}</a>
        </h2>
        <p class="post-meta">
            {{- partial "post-meta/date.html" . -}}
        </p>
    </header>
    <p class="post-content">
        {{ .Summary }}
    </p>
    {{ if site.Params.readmore }}
        {{ if .Truncated }}
            <footer>
                <a href="{{ .RelPermalink }}" class="read-more">{{ i18n "more" }}</a>
            </footer>
        {{ end }}
    {{ end }}
</article>