{% with slug=post.slug|default:None %}

{{ post.title }}

{% endwith %}