diff --git a/templates/partials/head.html b/templates/partials/head.html
index afbb00a68..8a7c6e23f 100644
--- a/templates/partials/head.html
+++ b/templates/partials/head.html
@@ -21,10 +21,10 @@
- {% elif page.extra.imgPath %}
-
-
-
+ {% elif extra.imgPath %}
+
+
+
{%endif%}
{%if section.description%}