summaryrefslogtreecommitdiff
path: root/templates/archives/homepage.html
blob: 37e80483527a9d5e8625cb32d075998b7dac069e (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
{% 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 class="archive">
        <article>
            <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>
            <div class="img">
                <a href="{{featured.get_absolute_url}}" title="{{featured.title}}"><img src="{{featured.get_image_url}}" alt="{{ featured.title }}" class="post-image" width="{{featured.image_width}}" height="{{featured.image_height}}" /></a>
            </div>
            <p class="dateline">
                <span class="location" itemprop="geo" itemscope itemtype="http://data-vocabulary.org/​Geo">{% if featured.country_name == "United States" %}{{featured.location_name|smartypants|safe}}, <a href="/writing/united-states/1/" title="travel writing from the United States">{{featured.state_name}}</a>{%else%}{{featured.location_name|smartypants|safe}}, <a href="/writing/{{featured.country_name|slugify}}/1/" title="travel writing from {{featured.country_name}}">{{featured.country_name}}</a>{%endif%}
                <meta itemprop="latitude" content="{{featured.latitude}}" />
                <meta itemprop="longitude" content="{{featured.longitude}}" /></span> &nbsp;
                <time datetime="{{featured.pub_date|date:'c'}}">{{featured.pub_date|date:"m/d/y"}}</time>
            </p>
            
            <p class="hyphenate">{{featured.dek|safe}} <span class="button"><a href="{{featured.get_absolute_url}}" title="{{featured.title}}">More &raquo;</a></span> </p>
                       
        </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%}