summaryrefslogtreecommitdiff
path: root/templates/archives/homepage.html
blob: a84563cfe12a73793cd27930e08052eeadad2524 (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
{% extends 'base.html' %}
{% load typogrify %}
{%block extrahead%}<link rel="openid.server" 
          href="http://www.myopenid.com/server" >
    <link rel="openid.delegate" 
          href="http://luxagraf.myopenid.com/" >
    <meta name="verify-v1" content="ZCZSYGNdjeLCPx5trSQELyhY9kq9N7CznTcv5JFkpnM=">{%endblock%}

{%block bodyid%}id="home"{%endblock%}

{% block primary %}<section id="featured">
        <article>
            <div id="featured-intro">
                <h1><a href="{{featured.get_absolute_url}}" title="{%if featured.title_keywords%}{{featured.title_keywords}}{%else%}{{featured.title}}{%endif%}">{{featured.title|smartypants|widont|safe}}</a></h1>
                <p>
                    <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|date:'c'}}">{{featured.pub_date|date:"m/d/y"}}</time>
                </p>
                <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>
            </div>
        </article>
   </section>
    {%comment%}<section id="currently">
            <div class="project-tease"><a href="/projects/5x5/"><h4 id="proj">5<span>x</span>5</h4> Interviews From The Road</a><p>Lorem sit amet, consectetur adipiscing elit. Duis cursus sodales eros <cite>&ndash; William Brandon III</cite></p></div>
       </section>{%endcomment%}
   <section id="archive">
        <h1>From the Archive</h1>
        {% include 'includes/recent_entries.html' %}
   </section>
{% endblock %}

{% block js %}<script src="{{MEDIA_URL}}js/hyphenate.min.js" type="text/javascript"></script>{% endblock%}