summaryrefslogtreecommitdiff
path: root/layouts/view_postblock_summary.html
blob: 2426ee693891238346cc29268f1252c81b9f326e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!--
    This is a Decorator of 'view_postblock',
    with additional summary block.
-->

{{ .Render "view_postblock" }}
<div class="post-summary markdown-body text-size-lg leading-relaxed mt-0"
    style="view-transition-name: post-content-{{ .File.UniqueID }}">
    {{ if .Params.description }}
        {{ .Params.description }}
    {{ else }}
        {{ .Summary }}
    {{ end }}
</div>