26 lines
833 B
HTML
26 lines
833 B
HTML
{{- $scratch := newScratch }}
|
|
{{- if isset .Params "image" }}
|
|
{{- $scratch.Set "image" .Params.image }}
|
|
{{- else }}
|
|
{{- if isset .Params "featured_image" }}
|
|
{{- $scratch.Set "image" .Params.featured_image }}
|
|
{{- else }}
|
|
{{ $scratch.Set "image" "thumbnail.svg" }}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- $image := $scratch.Get "image" }}
|
|
{{- $bg := ( $image | absLangURL) }}
|
|
<li class = 'kortpost_item post_item' data-link="{{ .Permalink }}">
|
|
<div class = 'excerpt'>
|
|
<a href='{{ .Permalink }}' target="_blank" aria-label="logo" rel="noopener">
|
|
<h3 class = 'post_link fbpost_item_link'>
|
|
Red Zuurdesem
|
|
</h3>
|
|
<h4 class='kortpost_item_date'>
|
|
Op {{ .Date.Format (.Site.Params.dateFormat | default "2 January 2006") }}
|
|
</h4>
|
|
</a>
|
|
<p class = 'pale'>{{ .Content }}</p>
|
|
</div>
|
|
</li>
|