{% if let Some(u) = user %} Logged in as: {{ u.username }} |
{% else %} Not logged in | Login {% endif %}

[Back to Home]


{{ post.title }}

Posted by {{ author_username }} on {{ post.formatted_created_at() }}

{% if !post.categories.is_empty() %}

Categories: {{ post.categories }}

{% endif %} {% if !post.tags.is_empty() %}

Tags: {{ post.tags }}

{% endif %} {% if post.visibility == "password_protected" %}

[This post is password protected. In a full implementation, you'd enter a password here.]


{% else if post.visibility == "private" && user.is_none() %}

[This post is private and only visible to authorized users.]


{% else %}
{{ post.rendered_content()|safe }}
{% endif %}

[Back to Home]