2020-08-22 13:20:08 +02:00
|
|
|
<article>
|
2020-10-31 23:24:58 +01:00
|
|
|
<a href="{{ .RelPermalink }}">
|
2020-09-24 23:59:00 +02:00
|
|
|
<div class="article-details">
|
|
|
|
|
<h2 class="article-title">
|
2020-08-22 13:20:08 +02:00
|
|
|
{{- .Title -}}
|
2020-09-24 23:59:00 +02:00
|
|
|
</h2>
|
|
|
|
|
<footer class="article-time">
|
|
|
|
|
<time datetime='{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}'>
|
2025-05-21 12:25:11 +02:00
|
|
|
{{- .Date | time.Format (or .Site.Params.dateFormat.published "Jan 02, 2006") -}}
|
2020-09-24 23:59:00 +02:00
|
|
|
</time>
|
|
|
|
|
</footer>
|
2020-09-10 18:53:36 +02:00
|
|
|
</div>
|
2020-09-24 23:59:00 +02:00
|
|
|
|
2026-01-25 23:29:41 +01:00
|
|
|
{{- $image := partial "helper/image" (dict "Image" .Params.image "Resources" .Resources) -}}
|
|
|
|
|
{{ if $image }}
|
|
|
|
|
<div class="article-image">
|
2026-03-04 23:32:33 +01:00
|
|
|
{{ partial "helper/thumbnail-image" (dict
|
|
|
|
|
"Resource" $image.Resource
|
|
|
|
|
"Width" 60
|
|
|
|
|
"Height" 60
|
|
|
|
|
"Resize" .Site.Params.ImageProcessing.Thumbnail.Enabled
|
|
|
|
|
"Attributes" (dict
|
|
|
|
|
"src" $image.Permalink
|
|
|
|
|
"alt" .Title
|
|
|
|
|
"loading" "lazy"
|
|
|
|
|
"width" $image.Width
|
|
|
|
|
"height" $image.Height
|
|
|
|
|
)
|
|
|
|
|
) }}
|
2026-01-25 23:29:41 +01:00
|
|
|
</div>
|
2020-09-24 23:59:00 +02:00
|
|
|
{{ end }}
|
|
|
|
|
</a>
|
2020-08-22 13:20:08 +02:00
|
|
|
</article>
|