13 lines
552 B
HTML
13 lines
552 B
HTML
|
<article class="list-view{{ with .Section }} list-view--{{ . | urlize }}{{ end }}">
|
||
|
<header>
|
||
|
{{- $postDate := "" }}
|
||
|
{{- if .Param "showPostDate" | default false }}
|
||
|
{{- $postDate = .Params.date.Format .Site.Params.dateFormat }}
|
||
|
{{- end }}
|
||
|
<h2 class="title mt--s{{ if $.Param "submitted" | default false }} mb--xxs{{ end }}"><a href="{{ .RelPermalink }}">{{ .Title }}</a> <span class="title-post-date">{{ $postDate }}</span></h2>
|
||
|
{{ if $.Param "submitted" | default false }}{{ partial "submitted.html" . -}}{{ end }}
|
||
|
</header>
|
||
|
|
||
|
{{ .Summary }}
|
||
|
</article>
|