diff --git a/_includes/figure.html b/_includes/figure.html
index bffb2a225394..e67e8043f6c4 100644
--- a/_includes/figure.html
+++ b/_includes/figure.html
@@ -1,27 +1,33 @@
-{%- assign path = include.path | remove: ".jpg" | remove: ".jpeg" | remove: ".png" | remove: ".tiff" -%}
+{%- assign img_path = include.path | remove: ".jpg" | remove: ".jpeg" | remove: ".png" | remove: ".tiff" -%}