summaryrefslogtreecommitdiff
path: root/design/templates/archives/homepage.html
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates/archives/homepage.html')
-rw-r--r--design/templates/archives/homepage.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/design/templates/archives/homepage.html b/design/templates/archives/homepage.html
new file mode 100644
index 0000000..11cbf4b
--- /dev/null
+++ b/design/templates/archives/homepage.html
@@ -0,0 +1,31 @@
+{% extends 'base.html' %}
+{% load typogrify %}
+{%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 bl">
+ <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'}}" pubdate>{{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 class="home harchive">
+ <h1 class="sh">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%}