blob: 2d72d0b6d28e0542075370c3b9061bc7eac412d1 (
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
|
{% extends 'base.html' %}
{% load chunks %}
{% load typogrify %}
{%block bodyid%}id="home"{%endblock%}
{% block title %}<a href="{{featured.get_absolute_url}}">{{featured.title|smartypants|safe}}</a>{% endblock %}
{% block date %}{{featured.pub_date|date:"F j, Y"}}{% endblock %}
{% block primary %}
{{featured.lede|smartypants|widont|safe}}
<span class="date"><a href="{{featured.get_absolute_url}}" title="{{object.title}}">More »</a></span>
{% endblock %}
{% block extrabody %}
<div class="archives">
<h4 id="archive-header">Recently</h4>
<ul>
{% for object in object_list %}
<li>
<dl>
<dt>
<span class="post-image"><img src="{{object.get_thumbnail_url}}" alt="{{ object.title }}"/></span>
<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>
{{object.dek|safe}}
<span class="more"><a href="{{object.get_absolute_url}}" title="{{object.title}}">Read it »</a></span>
</dd>
</dl>
</li>
{% endfor %}
</ul>
</div>
{% endblock %}
{% block sidebar %}
<div id="sidebar">
<div id="nav" class="first"><a href="{{featured.get_previous_published.get_absolute_url}}" title="">«Previous</a></div>
<div class="blok">
<h4>Topography</h4>
{% chunk "regions_sidebar" %}
</div>
<div class="blok">
<h4>About Luxagraf</h4>
{% chunk "about_sidebar" %}
</div>
<div class="blok">
<h4>Follow Along</h4>
{% chunk "follow_sidebar" %}
</div>
</div><!-- sidebar -->
{% endblock %}
|