{% extends 'base.html' %} {% load typogrify_tags %} {% load comments %} {% block pagetitle %}{{object.title|title|smartypants|safe}} - Luxagraf, Writing{%comment%}{% if object.country_name == "United States" %}{{object.location_name|smartypants|safe}}, {{object.state_name}}{%else%}{{object.location_name|smartypants|safe}}, {{object.country_name}}{%endif%}{%endcomment%}{% endblock %} {% block metadescription %}{% autoescape on %}{{object.meta_description|striptags|safe}}{% endautoescape %}{% endblock %} {%block extrahead%} {%endblock%} {%block htmlclass%}{% with object.template_name as t %} class="detail {%if t == 1 or t == 3 or t == 5 %}double{%else%}single{%endif%}{%if t == 2 or t == 3 %} dark{%endif%}{%if t == 4 or t == 5 %} black{%endif%}"{%endwith%}{%endblock%} {% block primary %}

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

{{object.body_html|safe|smartypants}}
{%if wildlife or object.field_notes.all or object.books.all %}{%endif%}
{% with object.get_next_published as next %} {% with object.get_previous_published as prev %} {% comment %}
If you enjoyed this, you should join the mailing list…
{% include 'mailing_list.html' %}
{% endcomment %}
{% if object.enable_comments %} {% get_comment_count for object as comment_count %} {%if comment_count > 0 %}

{{comment_count}} Comment{{ comment_count|pluralize }}

{% render_comment_list for object %} {%endif%} {% render_comment_form for object %} {% else %}

Sorry, comments have been disabled for this post.

{%endif%} {% endblock %} {% block js %} {%endblock%}