{% if not figure_file_path.endswith('.svg') %} {% else %} {% endif %}