hugo-whisper-theme/layouts/_default/summary.html
Robert Austin ae72d8b0f5 docs css
2019-02-17 18:43:41 +10:00

7 lines
No EOL
251 B
HTML

<div class="summary mb-2">
{{ if .Params.image }}
<img alt="{{ .Title }}" src="{{ .Params.image }}" />
{{ end}}
<h2 class="title-summary"><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
<p>{{ .Content | plainify | truncate 140 }}</p>
</div>