summaryrefslogtreecommitdiff
path: root/templates/archives
diff options
context:
space:
mode:
authorluxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f>2009-04-29 02:50:38 +0000
committerluxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f>2009-04-29 02:50:38 +0000
commit3694604330e53dbf447ec495f20083288f8e0195 (patch)
tree6f7d1e9231fb08ed87a509e7575c6480cccb243c /templates/archives
parent16cb8a562d2272d949035822949d62d217a4ccce (diff)
did some SEO optimizations
Diffstat (limited to 'templates/archives')
-rw-r--r--templates/archives/homepage.html2
-rw-r--r--templates/archives/writing.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/archives/homepage.html b/templates/archives/homepage.html
index aceb846..2d72d0b 100644
--- a/templates/archives/homepage.html
+++ b/templates/archives/homepage.html
@@ -22,7 +22,7 @@
<dl>
<dt>
<span class="post-image"><img src="{{object.get_thumbnail_url}}" alt="{{ object.title }}"/></span>
- <h3><a href="{{object.get_absolute_url}}" title="{{object.title}}">{{object.title|smartypants|widont|safe}}</a></h3>
+ <h3><a href="{{object.get_absolute_url}}" title="{%if object.title_keywords%}{{object.title_keywords}}{%else%}{{object.title}}{%endif%}">{{object.title|smartypants|widont|safe}}</a></h3>
</dt>
<dd>
<span class="date">{{object.pub_date|date:"F j, Y"}} {% ifequal object.location.state.country.name "United States" %}({{object.location.name|smartypants|safe}}, {{object.location.state.name}}){%else%}({{object.location.name|smartypants|safe}}, {{object.location.state.country.name}}){%endifequal%}</span>
diff --git a/templates/archives/writing.html b/templates/archives/writing.html
index f3bc288..a3d1a3b 100644
--- a/templates/archives/writing.html
+++ b/templates/archives/writing.html
@@ -23,7 +23,7 @@
<dl>
<dt>
<span class="post-image"><img src="{%if object.thumbnail%}{{object.get_thumbnail_url}}" alt="{{ object.title }}{%endif%}"/></span>
- <h3><a href="{{object.get_absolute_url}}" title="{{object.title}}">{{object.title|smartypants|widont|safe}}</a></h3>
+ <h3><a href="{{object.get_absolute_url}}" title="{%if object.title_keywords%}{{object.title_keywords}}{%else%}{{object.title}}{%endif%}">{{object.title|smartypants|widont|safe}}</a></h3>
</dt>
<dd>
<span class="date">{{object.pub_date|date:"F j, Y"}} {% ifequal object.location.state.country.name "United States" %}({{object.location.name|smartypants|safe}}, {{object.location.state.name}}){%else%}({{object.location.name|smartypants|safe}}, {{object.location.state.country.name}}){%endifequal%}</span>