summaryrefslogtreecommitdiff
path: root/templates/archives/homepage.html
diff options
context:
space:
mode:
authorluxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f>2010-03-28 18:00:17 +0000
committerluxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f>2010-03-28 18:00:17 +0000
commit0282141a50433312df9f9be2188ccf8ae198b666 (patch)
tree9f135d466a6bd3ebe05a07eacb061009d0ba71d9 /templates/archives/homepage.html
parent393bfd7ad1f49f473708c7bef336a529aee6a0d8 (diff)
visual redesign
Diffstat (limited to 'templates/archives/homepage.html')
-rw-r--r--templates/archives/homepage.html41
1 files changed, 33 insertions, 8 deletions
diff --git a/templates/archives/homepage.html b/templates/archives/homepage.html
index 0f4af61..e660869 100644
--- a/templates/archives/homepage.html
+++ b/templates/archives/homepage.html
@@ -6,16 +6,41 @@
{% block primary %}
<article>
- <section id="featured-article">
- <h1><a href="{{featured.get_absolute_url}}">{{featured.title|widont|smartypants|safe}}</a></h1>
- <aside class="meta"><span class="location">{% ifequal 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>{%endifequal%}</span></aside>
- {{featured.lede|smartypants|widont|safe}}</p>
- <span><a href="{{featured.get_absolute_url}}" title="{{featured.title}}">More &raquo;</a></span>
+ <section>
+ <ul id="writing-archive">
+ <li>
+ <div id="featured-article">
+ <h3><a href="{{featured.get_absolute_url}}" title="{%if featured.title_keywords%}{{featured.title_keywords}}{%else%}{{featured.title}}{%endif%}">{{featured.title|smartypants|widont|safe}}</a></h3>
+
+ <p>
+ <span class="location">{% ifequal 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>{%endifequal%}</span> &nbsp;
+ <time datetime="{{featured.pub_date}}">{{featured.pub_date|date:"m/d/y"}}</time>
+ </p>
+
+ <p>{{featured.dek|safe}}</p>
+ <span><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>
+
+ </li>
+ </ul>
+
</section>
- <section id="writing-archive">
- <h2>Recently</h2>
- {% include 'includes/recent_entries.html' %}
+ <!--<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>-->
+
+ <section id="writing-tease">
+ <h2>From the Archive</h2>
+
+ </section>
+ <section id="fromthearc">
+ {% include 'includes/recent_entries.html' %}
</section>
+
</article>
+
{% endblock %} \ No newline at end of file