{% if post.thumb|extension == 'webm' or post.thumb|extension == 'mp4' %}
{% else %}
{% macro tag(doLazy, config, post) %}
{% endmacro %}
{% import _self as image %}
{% if 'js/remove-lazy-loading.js' in config.additional_javascript or 'js/remove-lazy-loading.js' in config.additional_javascript_defer %}
{{image.tag(true, config, post)}}
{% else %}
{{image.tag(false, config, post)}}
{% endif %}
{% endif %}