summaryrefslogtreecommitdiff
path: root/templates/archives/homepage.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/archives/homepage.html')
-rw-r--r--templates/archives/homepage.html10
1 files changed, 6 insertions, 4 deletions
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 @@
<h3><a href="{{featured.get_absolute_url}}" title="{%if featured.title_keywords%}{{featured.title_keywords}}{%else%}{{featured.title}}{%endif%}">{{featured.title|smartypants|widont|safe}}</a></h3>
<p>
- <span class="location">{% ifequal featured.location.state.country.name "United States" %}{{featured.location.name|smartypants|safe}}, <a href="/writing/united-states/1/" title="travel writing from the United States">{{featured.location.state.name}}</a>{%else%}{{featured.location.name|smartypants|safe}}, <a href="/writing/{{featured.location.state.country.slug}}/1/" title="travel writing from {{featured.location.state.country.name}}">{{featured.location.state.country.name}}</a>{%endifequal%}</span> &nbsp;
+ <span class="location">{% if featured.location.state.country.name == "United States" %}{{featured.location.name|smartypants|safe}}, <a href="/writing/united-states/1/" title="travel writing from the United States">{{featured.location.state.name}}</a>{%else%}{{featured.location.name|smartypants|safe}}, <a href="/writing/{{featured.location.state.country.slug}}/1/" title="travel writing from {{featured.location.state.country.name}}">{{featured.location.state.country.name}}</a>{%endif%}</span> &nbsp;
<time datetime="{{featured.pub_date}}">{{featured.pub_date|date:"m/d/y"}}</time>
</p>
- <p>{{featured.dek|safe}}</p>
- <span><a href="{{featured.get_absolute_url}}" title="{{featured.title}}">More &raquo;</a></span>
+ <p class="hyphenate">{{featured.dek|safe}}</p>
+ <span class="button"><a href="{{featured.get_absolute_url}}" title="{{featured.title}}">More &raquo;</a></span>
</div>
<div id="featured-image">
<a href="{{featured.get_absolute_url}}" title="{{featured.title}}"><img src="{{featured.get_image_url}}" alt="{{ featured.title }}" class="post-image" /></a>
@@ -42,4 +42,6 @@
</article>
-{% endblock %} \ No newline at end of file
+{% endblock %}
+
+{% block js %}<script src="/media/js/hyphenate.js" type="text/javascript"></script>{% endblock%} \ No newline at end of file