Welcome to mirror list, hosted at ThFree Co, Russian Federation.

summary.html « post « partials « layouts - github.com/asurbernardo/amperage.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3d768f5b25fffe00d0cffe28dacbb7b344a3280b (plain)
1
2
3
4
5
6
7
8
9
10
11
<article class="summary">
    <h2 class="summary__title">{{.Title}}</h2>
    {{ with .Params.Image.Src }}
        {{- partial "blocks/image.html" (dict "src" . "alt" $.Title "class" "summary__image") -}}
    {{ end }}
    <p>{{.Summary}}</p>
    <a class="button" role="button"
        href="{{.Permalink}}"
        data-rel="prefetch"
        aria-label="{{ i18n "keepReading" }} {{.Title}}">{{ i18n "keepReading" }}</a>
</article>