blob: d0d94c32434e9e339da0e1c27d92cda6dabd8b17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<div class="card">
{{- if .Title }}<h2><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>{{- end }}
{{- if and .Date (not (isset (index .Ancestors 0).Params "hide_date")) }}<strong>{{ .Date.Format "2006-01-02" }}</strong>{{- end }}
<div class="summary">
{{ .Summary | safeHTML }}
<a href="{{ .Permalink }}">Read more</a>
</div>
{{- if .Params.external_links }}
<div class="links">
{{- range .Params.external_links }}
<a href="{{ .url | absURL }}">{{ .name }}</a>
{{- end }}
</div>
{{- end }}
</div>
|