diff options
author | luxagraf <sng@luxagraf.net> | 2011-06-14 13:19:01 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2011-06-14 13:19:01 -0500 |
commit | b4d39de7bb6721cac3d7a333aaffd087c311360d (patch) | |
tree | 5411cb4927c9c4bd1baec4fa90434566e73bf100 /templates | |
parent | 3d8a37e7e24e0e597ed38958a6d18c6c324445ae (diff) |
tweaked entry template to handle widont edge case of two word titles in double col layout
Diffstat (limited to 'templates')
-rw-r--r-- | templates/details/entry.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/details/entry.html b/templates/details/entry.html index a5524d0..c5dc80f 100644 --- a/templates/details/entry.html +++ b/templates/details/entry.html @@ -18,7 +18,7 @@ class="{%if t == 0 or t == 2 %}single{%endif%}{%if t == 1 or t == 3 %}double{%en {% block primary %} <article role="main"> <header> - <h1>{{object.title|smartypants|widont|safe}}</h1> + <h1>{%if object.template_name == 1 or object.template_name == 3 %}{{object.title|smartypants|safe}}{%else%}{{object.title|smartypants|widont|safe}}{%endif%}</h1> <aside class="geo bl"> <span class="location" itemprop="geo" itemscope itemtype="http://data-vocabulary.org/​Geo">{% if object.country_name == "United States" %}{{object.location_name|smartypants|safe}}, <a href="/writing/united-states/1/" title="travel writing from the United States">{{object.state_name}}</a>{%else%}{{object.location_name|smartypants|safe}}, <a href="/writing/{{object.country_name|slugify}}/1/" title="travel writing from {{object.country_name}}">{{object.country_name}}</a>{%endif%} <meta itemprop="latitude" content="{{object.latitude}}" /> |