{% load static %} {% if preview != "" and fulltext != preview %} {{ preview }} {{ fulltext }} {% else %} {{ fulltext }} {% endif %}