diff options
Diffstat (limited to 'design/templates/essays/essay_detail.html')
-rw-r--r-- | design/templates/essays/essay_detail.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/design/templates/essays/essay_detail.html b/design/templates/essays/essay_detail.html index bdf502c..436004a 100644 --- a/design/templates/essays/essay_detail.html +++ b/design/templates/essays/essay_detail.html @@ -1,7 +1,7 @@ {% extends 'base.html' %} {% load typogrify_tags %} {% load comments %} - +{%block htmlclass%}class="detail single"{%endblock%} {% block pagetitle %}{{object.title|title|smartypants|safe}} - by Scott Gilbertson{% endblock %} {% block metadescription %}{% autoescape on %}{{object.meta_description|striptags|safe}}{% endautoescape %}{% endblock %} @@ -27,8 +27,6 @@ <meta name="twitter:image:src" content="{{object.featured_image.get_image_url}}"/>{%endif%} <meta name="twitter:creator" content="@luxagraf"/> {%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 bodyid %}{% if object.get_post_type_display == 'tools' %}class="src"{% endif %}{%endblock%} |