diff --git a/templates/shortcodes/image_figure.html b/templates/shortcodes/image_figure.html index ad5da2a04..df75e6eff 100644 --- a/templates/shortcodes/image_figure.html +++ b/templates/shortcodes/image_figure.html @@ -1,3 +1,14 @@ +{% if src != "image link" %} + {# Only validate against placeholders if we're not in the example #} + {% if alt == "image/GIF description" %} + {{ throw(message="Don't forget to write your own image description :)") }} + {% endif %} + + {% if caption and caption == "image caption" %} + {{ throw(message="Don't forget to write your own image caption ^^") }} + {% endif %} +{% endif %} +
{% if link %}{% endif %} {{alt}}