diff options
Diffstat (limited to 'templates/archives/homepage.html')
-rw-r--r-- | templates/archives/homepage.html | 47 |
1 files changed, 12 insertions, 35 deletions
diff --git a/templates/archives/homepage.html b/templates/archives/homepage.html index c6ad42d..03b2888 100644 --- a/templates/archives/homepage.html +++ b/templates/archives/homepage.html @@ -4,41 +4,18 @@ {%block bodyid%}id="home"{%endblock%} -{% block title %}<a href="{{featured.get_absolute_url}}">{{featured.title|smartypants|safe}}</a>{% endblock %} - -{% block date %}{{featured.pub_date|date:"F j, Y"}}{% endblock %} - {% block primary %} -{{featured.lede|smartypants|widont|safe}} -<span class="date"><a href="{{featured.get_absolute_url}}" title="{{object.title}}">More »</a></span> -{% endblock %} - -{% block extrabody %} -<div class="archives"> - <h4 id="archive-header">Recently</h4> - {% include 'includes/recent_entries.html' %} -</div> -{% endblock %} - - - -{% block sidebar %} -<div id="sidebar"> - <div id="nav" class="first"><a href="{{featured.get_previous_published.get_absolute_url}}" title="">«Previous</a></div> - <div class="blok"> - <h4>Topography</h4> - {% include 'includes/regions_sidebar.html' %} - </div> - <div class="blok"> - <h4>About Luxagraf</h4> - {% chunk "about_sidebar" %} - - </div> - - <div class="blok"> - <h4>Follow Along</h4> - {% chunk "follow_sidebar" %} - </div> -</div><!-- sidebar --> + <article> + <section id="featured-article"> + <h1><a href="{{featured.get_absolute_url}}">{{featured.title|widont|smartypants|safe}}</a></h1> + <span class="byline"><time datetime="{{featured.pub_date}}">{{featured.pub_date|date:"F j, Y"}}</time> • <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></span> + {{featured.lede|smartypants|widont|safe}}</p> + <span><a href="{{featured.get_absolute_url}}" title="{{featured.title}}">More »</a></span> + </section> + <section id="writing-archive"> + <h2>Recently</h2> + {% include 'includes/recent_entries.html' %} + </section> + </article> {% endblock %}
\ No newline at end of file |