{% load core_tags %} {% with image="" url="" %} {% if not STATIC_EXPORT %} {% snapshot_detail_url snapshot as url %} {% if social.image_path %}{% snapshot_url snapshot social.image_path as image %}{% endif %} {% endif %} {% with title=social.title description=social.description %} {% if url %}{% endif %} {% if image %} {% endif %} {% endwith %} {% endwith %}