2020-08-22 07:20:08 -04:00
|
|
|
<article>
|
|
|
|
<div class="article-details">
|
|
|
|
<h2 class="article-title">
|
|
|
|
<a href="{{ .Permalink }}">
|
|
|
|
{{- .Title -}}
|
|
|
|
</a>
|
|
|
|
</h2>
|
|
|
|
<footer class="article-time">
|
|
|
|
<time datetime='{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}'>
|
2020-09-09 11:35:22 -04:00
|
|
|
{{- .Date.Format (or .Site.Params.dateFormat.published "Jan 02, 2006") -}}
|
2020-08-22 07:20:08 -04:00
|
|
|
</time>
|
|
|
|
</footer>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{ if .Params.image }}
|
|
|
|
{{- $image := partial "helper/image" . -}}
|
|
|
|
{{- $thumbnail := $image.Fill "120x120" -}}
|
|
|
|
|
|
|
|
<div class="article-image">
|
|
|
|
<img src="{{ $thumbnail.RelPermalink }}" width="{{ $thumbnail.Width }}"
|
|
|
|
height="{{ $thumbnail.Height }}" loading="lazy">
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
</article>
|