summaryrefslogtreecommitdiff
path: root/design/templates/archives/homepage.html
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2015-01-25 18:48:19 +0000
committerluxagraf <sng@luxagraf.net>2015-01-25 18:48:19 +0000
commit07dc722b5b244a21fbb8aa4e0bdafb53e1598330 (patch)
treebe313cae0d0d1ecc049f0c9610de8a1e40a0cdba /design/templates/archives/homepage.html
parent6eb3a9c2ab19b44d330c583d35cde85e965f899d (diff)
fixed homepage builder
Diffstat (limited to 'design/templates/archives/homepage.html')
-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 %}