{{- $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) }}
  • Thumbnail {{ .Title }}
    {{- with .Params.tags -}} {{- range first 1 . }} {{- $tag := . | urlize }} {{- end }} {{- end }}

    {{ .Title }}

    {{ .Summary | truncate 90 }}