summaryrefslogtreecommitdiff
path: root/templates/details/entry.html
blob: d9f7cb72682d8318fbd8602d90f71cc62e96c9a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{% extends 'base.html' %}
{% load typogrify %}
{% block pagetitle %}Luxagraf | {{object.title|title|smartypants|safe}}{% endblock %}
{% block metadescription %}Luxagraf: {{object.dek|striptags|safe}}{% endblock %}
{% block date %}{{object.pub_date|date:"F j, Y"}}<span class="small byline">{% 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>{% endblock %}


				
				{% block title %}{{object.title|smartypants|safe}}{% endblock %}
								
				
                {% block primary %}
				
                {{object.body_html|smartypants|widont|safe}}
                
                
                
				<div id="extra">
                    <p><span>{{object.title|title|smartypants|safe}}</span> was posted {{ object.pub_date|timesince }} ago from <!--<a href="{{object.location.get_absolute_url}}" title="see other entries from {{object.location.name}}">-->{{object.location.name|smartypants|safe}}<!--</a>-->, which is in {%ifequal object.location.state.country.name 'United States'%}<a href="/maps/#{{object.location.state.slug}}" title="see other entries from {{object.location.state.name}}">{{object.location.state.name|smartypants|safe}}</a>,{%endifequal%} <a href="/writing/{{object.location.state.country.slug}}/1/" title="see other entries from {{object.location.state.country.name}}">{{object.location.state.country.name|smartypants|safe}}</a>. You can find nearby entries by browsing the <a href="/map/">Map</a>.
                
                
                    <p>If you enjoyed reading this, you can follow along on <a href="http://www.facebook.com/profile.php?id=730956404" title="Facebook" rel="me">Facebook</a>, <a href="http://friendfeed.com/luxagraf" title="friendfeed" rel="me">FriendFeed</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 luxagraf, 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>
                </div>
                
                <div id="nav">
                    <ul>
                        {% if object.get_previous_published%}
                        <li>
                            <a href="{{ object.get_previous_published.get_absolute_url }}" title=" {{object.get_previous_published.title}}">&laquo;previous</a>
                        </li>
                        {%endif%}
                        {% if object.get_next_published%}
                        <li class="next">
                            <a href="{{ object.get_next_published.get_absolute_url }}" title=" {{object.get_next_published.title}}">next&raquo;</a>
        
                        </li>
                        {%endif%}
                    </ul>
                </div>
                 <h4 id="comment-header">comments</h4>
                 {# Load and display comments #}
                 <div id="disqus_thread"></div><script type="text/javascript" src="http://disqus.com/forums/luxagraf/embed.js"></script><noscript><a href="http://luxagraf.disqus.com/?url=ref">View the discussion thread.</a></noscript><a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>

			{% endblock %}

			
    
{% block sidebar %}
            <div id="sidebar">
                <div id="nav">
                    <ul>
                        {% if object.get_previous_published%}
                        <li>
                            <a href="{{ object.get_previous_published.get_absolute_url }}" title=" {{object.get_previous_published.title}}">&laquo; previous</a>
                        </li>
                        {%endif%}
                        {% if object.get_next_published%}
                        <li class="next">
                            <a href="{{ object.get_next_published.get_absolute_url }}" title=" {{object.get_next_published.title}}">next &raquo;</a>
        
                        </li>
                        {%endif%}
                    </ul>
                </div>
            </div>
{% endblock %}