17 lines
575 B
HTML
17 lines
575 B
HTML
<div class="card">
|
|
{{- if .Title }}<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>{{- 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>
|