summaryrefslogtreecommitdiff
path: root/design/templates/archives
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates/archives')
-rw-r--r--design/templates/archives/homepage.html21
1 files changed, 18 insertions, 3 deletions
diff --git a/design/templates/archives/homepage.html b/design/templates/archives/homepage.html
index 12968aa..7ecd4de 100644
--- a/design/templates/archives/homepage.html
+++ b/design/templates/archives/homepage.html
@@ -57,9 +57,24 @@
</article> {% endfor %}
<p><a href="/" class="homepage--next">Read More</a></p>
</section>
- <section class="homepage--bright">
- <h1 class="homepage--arc-header">Join the Mailing List</h1>
- {% include 'mailing_list.html' %}
+ <section class="homepage--archives homepage--bright archive">
+ <h1 class="homepage--arc-header">Most Recent</h1>
+ {% for object in recent %}
+ <article class="h-entry hentry">
+ <div class="post--image">
+ <a href="{{object.get_absolute_url}}" title="{{object.title}}"><img src="{{object.get_image_url}}" alt="{{ object.title }}" class="u-photo post-image" /></a>
+ </div>
+ <h1 class="p-name entry-title post--title"><a href="{{object.get_absolute_url}}" class="u-url" title="{%if object.title_keywords%}{{object.title_keywords}}{%else%}{{object.title}}{%endif%}">{{object.title|safe|smartypants|widont}}</a></h1>
+ <p class="p-author author hide">Scott Gilbertson</p>
+ <time class="dt-published published dt-updated post--date" datetime="{{object.pub_date|date:'c'}}">{{object.pub_date|date:"F"}} <span>{{object.pub_date|date:"j, Y"}}</span></time>
+ <p>
+ <span class="p-location h-adr adr post--location">
+ {% if object.country.name == "United States" %}<span class="p-locality locality" itemprop="geo" itemscope itemtype="http://data-vocabulary.org/Geo">{{object.location.name|smartypants|safe}}</span>, <a class="p-region region" href="/jrnl/united-states/" title="travel writing from the United States">{{object.state.name}}</a>, <span class="p-country-name">U.S.</span>{%else%}<span class="p-region">{{object.location.name|smartypants|safe}}</span>, <a class="p-country-name country-name" href="/jrnl/{{object.country.slug}}/" title="travel writing from {{object.country.name}}">{{object.country.name}}</a>{%endif%}
+ <data itemprop="latitude" class="p-latitude" value="{{object.latitude}}"></data>
+ <data itemprop="longitude" class="p-longitude" value="{{object.longitude}}"></data>
+ </span> &ndash;
+ </p>
+ </article> {% endfor %}
</section>
</div>
{% endblock %}