diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 80225c0d5..d478d7f55 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,8 +1,7 @@
{{ define "main" }}
{{- $images := .Resources.ByType "image" }}
{{- $cover := $images.GetMatch (.Params.cover | default "*cover*") }}
- {{- $feature := (.Params.feature | default "*feature*") | default $cover }}
- {{- $featureImg := $images.GetMatch $feature }}
+ {{- $feature := $images.GetMatch (.Params.feature | default "*feature*") | default $cover }}
{{ if .Params.showBreadcrumbs | default (.Site.Params.article.showBreadcrumbs | default false) }}
@@ -14,10 +13,10 @@