diff options
author | luxagraf <sng@luxagraf.net> | 2011-04-05 10:38:52 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2011-04-05 10:38:52 -0400 |
commit | 8e2e31965126bee7992d26428d42c1631d29786f (patch) | |
tree | 2ed3fc9b9898e9c381fe5c03cd04996b62d06c11 /templates/details/entry.html | |
parent | 79101240da1e0331c00e7b616a7a32b55d81e5cc (diff) |
fixed image sprties, updated photo gallery codeand changed contact/about pages
Diffstat (limited to 'templates/details/entry.html')
-rw-r--r-- | templates/details/entry.html | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/templates/details/entry.html b/templates/details/entry.html index f5387cc..c94485d 100644 --- a/templates/details/entry.html +++ b/templates/details/entry.html @@ -31,28 +31,46 @@ <meta itemprop="longitude" content="{{object.longitude}}" /></span> {%comment%} (<a href="" title="">Map</a>, <a href="" title="">Photos</a>){%endcomment%} </aside> + <time datetime="{{object.pub_date|date:'c'}}">{{object.pub_date|date:"F"}} <span>{{object.pub_date|date:"j, Y"}}</span></time> </header> <div id="post-body"> {{object.body_html|smartypants|widont|safe}} </div>{%if object.template_name == 1 %} <div class="clearfix"></div>{%endif%}{%if object.template_name == 3 %}<div class="clearfix"></div>{%endif%} + {% with object.get_next_published as next %} + {% with object.get_previous_published as prev %} + <nav id="page-navigation"> + <table>{% if prev%} + <tr> + <td><strong>Previous:</strong></td> + <td><a href="{{ prev.get_absolute_url }}" title="{{prev.title}}">{{prev.title}}</a></td> + </tr>{%endif%} + <tr>{% if next%} + <td><strong>Next:</strong></td> + <td><a href="{{ next.get_absolute_url }}" title="{{next.title}}">{{next.title}}</a></td> + </tr>{%endif%} + </table> {%endwith%}{%endwith%} + </div> + {%comment%} <footer id="post-metadata"> <h4 class="hide">About {{object.title|smartypants|safe}}</h4> <p>Posted <time datetime="{{object.pub_date|date:'c'}}">{{object.pub_date|date:"F j, Y"}}</time>, from {% 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%}. Follow along on <a href="http://twitter.com/luxagraf" title="twitter" rel="me">Twitter</a> or by subscribing to the <a href="http://feeds.feedburner.com/luxagraf/blog" title="writing RSS 2.0 feed">RSS Feed</a>. For more about me, see the <a href="/about/" title="about luxagraf">about page</a>. To get in touch please use the <a href="/contact/" title="contact me">contact form</a> or leave a comment below.</p> </footer> + {% with object.get_next_published as next %} {% with object.get_previous_published as prev %} <nav id="page-navigation"> <ul>{% if next%} - <li id="prev"> - <a href="{{ next.get_absolute_url }}" title=" {{next.title}}">← newer</a> + <li id="prev"><span>Next:</span> + <a href="{{ next.get_absolute_url }}" title=" {{next.title}}">{{next.title}}</a> </li>{%endif%} - {% if prev%}<li id="next"> - <a href="{{ prev.get_absolute_url }}" title=" {{prev.title}}">older →</a> + {% if prev%}<li id="next"><span>Previous:</span> + <a href="{{ prev.get_absolute_url }}" title=" {{prev.title}}">{{prev.title}}</a> </li>{%endif%} </ul> </nav>{%endwith%}{%endwith%} + {% endcomment %} {%comment%} <section id="comments"> <h4><a class="disqus-link-count" href="{{object.get_absolute_url}}#disqus_thread">Comments</a></h4> |