{%if object.template_name == 1 or object.template_name == 3 %}{{object.title|smartypants|safe}}{%else%}{{object.title|smartypants|widont|safe}}{%endif%}

{{object.body_html|safe|smartypants|widont}}
{% with object.get_next_published as next %} {% with object.get_previous_published as prev %} {%endwith%}{%endwith%}