{{ $img_alt := .ctx.Title }}
{{ if and (isset .ctx.Params "gallery") (ne .ctx.Params.gallery "") }}
{{ range .ctx.Params.gallery }}

{{ 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" }}

{{ end }}
{{ else }}
{{ range .ctx.Resources.ByType "image" }}

{{ 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 }}