commit bd7550dec7a8d5f5ff035b6bbb44c604c3b7c40d
parent 987fd01451210aa071db9b67555bce44b31bb9f7
Author: FIGBERT <figbert@figbert.com>
Date: Sun, 16 Aug 2020 14:02:24 -0700
:bug: Change variable names to fix image shortcode
The previous variable names, `fallback-path` and `fallback-alt` contained dashes which Zola thought were subtraction symbols. They have now been replaced with underscore which
compile properly.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/shortcodes/image.html b/templates/shortcodes/image.html
@@ -2,6 +2,6 @@
{% for source in sources %}
<source srcset="{{ source }}">
{% endfor %}
- <img src="{{ fallback-path }}" alt="{{ fallback-alt }}"/>
+ <img src="{{ fallback_path }}" alt="{{ fallback_alt }}"/>
</picture>