{{ $img_alt := .ctx.Title }} {{ if and (isset .ctx.Params "gallery") (ne .ctx.Params.gallery "") }}
    {{ range .ctx.Params.gallery }}
  • {{ $img_alt }}
  • {{ end }}
{{ else if ne .ctx.Params.imageSlider false }}
    {{ if and (.ctx.Site.Params.resizeImages | default true) (.ctx.Params.resizeImages | default true) }} {{ range .ctx.Resources.ByType "image" }}
  • {{ $img_alt }}
  • {{ end }} {{ else }} {{ range .ctx.Resources.ByType "image" }}
  • {{ $img_alt }}
  • {{ end }} {{ end }}
{{ else}} {{ partial "featured-image.html" .ctx }} {{ end }} {{ partial "default-content.html" (dict "ctx" .ctx "template_type" .template_type) }} {{ partial "article-footer.html" .ctx }}