From eb3f49331e2ed0c1373ac78ce6935f2370b9e968 Mon Sep 17 00:00:00 2001 From: "luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f" Date: Sat, 12 Jun 2010 18:25:46 +0000 Subject: added hyphenation support and changed to justified text for homepage and writing archives. Also eliminated ifequal and ifnotequal template tags --- templates/archives/homepage.html | 10 ++++++---- templates/archives/photos.html | 4 ++-- templates/archives/projects.html | 4 +++- templates/archives/topics.html | 2 +- templates/archives/writing.html | 11 ++++++----- 5 files changed, 18 insertions(+), 13 deletions(-) (limited to 'templates/archives') diff --git a/templates/archives/homepage.html b/templates/archives/homepage.html index 7003943..2436795 100644 --- a/templates/archives/homepage.html +++ b/templates/archives/homepage.html @@ -12,12 +12,12 @@

{{featured.title|smartypants|widont|safe}}

- {% ifequal featured.location.state.country.name "United States" %}{{featured.location.name|smartypants|safe}}, {{featured.location.state.name}}{%else%}{{featured.location.name|smartypants|safe}}, {{featured.location.state.country.name}}{%endifequal%}   + {% if featured.location.state.country.name == "United States" %}{{featured.location.name|smartypants|safe}}, {{featured.location.state.name}}{%else%}{{featured.location.name|smartypants|safe}}, {{featured.location.state.country.name}}{%endif%}  

-

{{featured.dek|safe}}

- More » +

{{featured.dek|safe}}

+ More »
{{ object.title }} @@ -48,3 +48,4 @@ +{% block js %}{% endblock%} \ No newline at end of file -- cgit v1.2.3-70-g09d2