{% extends 'easycms/base.html' %} {% block easycms_title %}Preview Post: {{ post.title }}{% endblock %} {% block easycms_h1 %}{% endblock easycms_h1 %} {% block easycms_content %}
Back to Posts {% if settings.front_end_post_urls_enabled %} View Live Post {% endif %} {% if access_control.can_edit_post() %} Edit {{ post.post_type | title }} {% endif %}
{% if settings.post_main_image_enabled %} {% if post.main_image_url %} {% else %}
This post has no main image
{% endif %} {% endif %}

{{ post.title }}

{% if not post.published %}

Not Published

{% endif %}

{{ post.tagline }}

{{ post.content | safe }}
{% if settings.snippets_enabled %}

Snippet Preview:

{% if post.published %} {{ post.published | easycms_format_date }} {% else %} (date goes here) {% endif %} by {{ post.author.name }}

{{ post.get_snippet_title() }}

{{ post.get_snippet_description() }}

Read More
{% endif %}

Post Attributes:

Post Type {{ post.post_type }}
category category
Tags {% for tag in post.tags %} {{ tag.name }} {% else %} (none) {% endfor %}
Author {{ post.author.name }}
Created {{ post.created | easycms_format_datetime }}
Published {% if post.published %} {{ post.published | easycms_format_datetime }}
{% else %} Not Published
{% endif %}
Code (URL Name) {{ post.code }}
Description {{ post.description }}
HTML Title {{ post.get_html_title() }}
HTML Description {{ post.get_html_description() }}
{% endblock %}