diff options
author | luxagraf <sng@luxagraf.net> | 2011-01-20 21:42:32 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2011-01-20 21:42:32 -0500 |
commit | a358d40b3b154259b9badc631114eb43b60320cb (patch) | |
tree | 016a44f729849ee0e75569a877eaf62918572c72 /templates | |
parent | c080907859a482c45347bee07ee3210883074f6b (diff) |
fixed home page recent entries css and styled two column permalink pages
Diffstat (limited to 'templates')
-rw-r--r-- | templates/bin/recent_entries.html | 2 | ||||
-rw-r--r-- | templates/details/entry.html | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/templates/bin/recent_entries.html b/templates/bin/recent_entries.html index dbd875b..c585245 100644 --- a/templates/bin/recent_entries.html +++ b/templates/bin/recent_entries.html @@ -1,4 +1,4 @@ -{% load typogrify %}{% for object in object_list %}<article> +{% load typogrify %}{% for object in object_list %}<article {%cycle '' 'class="mid"' %}> <h1><a href="{{object.get_absolute_url}}" title="{%if object.title_keywords%}{{object.title_keywords}}{%else%}{{object.title}}{%endif%}">{{object.title|smartypants|widont|safe}}</a></h1> <p class="dateline"> <span class="location" itemprop="geo" itemscope itemtype="http://data-vocabulary.org/Geo">{% if object.location.state.country.name == "United States" %}{{object.location.name|smartypants|safe}}, <a href="/writing/united-states/1/" title="travel writing from the United States">{{object.location.state.name}}</a>{%else%}{{object.location.name|smartypants|safe}}, <a href="/writing/{{object.location.state.country.slug}}/1/" title="travel writing from {{object.location.state.country.name}}">{{object.location.state.country.name}}</a>{%endif%} diff --git a/templates/details/entry.html b/templates/details/entry.html index 473c910..270c980 100644 --- a/templates/details/entry.html +++ b/templates/details/entry.html @@ -72,4 +72,7 @@ })(); //]]> </script> +{%if object.template_name == 1 or object.template_name == 3 %} +<script src="{{MEDIA_URL}}js/hyphenate.min.js" type="text/javascript"></script> +{%endif%} {% endblock%}ck%}}
\ No newline at end of file |