1. Scott Nixon
  2. article

Source

article / article / templates / article / post_archive_year.html

{% extends "theme_base.html" %}

{% block head_title %} Blog Archive {{ year }} {% endblock %}

{% block body %} 
<div id="content">

  <!-- breadcrumb -->
  <div class="container">
    <div class="row">
      <div class="span15">
        <ul class="breadc clearfix">
          <li><a href="/">Home</a></li>
          <li><a href="{% url blog-archive %}">Blog Archive</a></li>
          <li><a href="{% url archive-year year %}">{{ year }}</a></li>
        </ul>
        <h1 class="page-title">Blog Archive {{ year }}</h1>
      </div>
    </div>
  </div>


  <div id="outer-wrapper">
    <div class="container">
      <!-- Content -->
      <div class="row">
        <div class="wrapper-box">
          <div class="span7">

	          <style>
	            ul.arch_month {
	            display: block;
	            clear: both;
	            }
	            ul.arch_month li {
	            display: block;
	            float: left;
	            padding: 1em 0.35em;
	            }
	          </style>
              
	          <ul class="arch_month"> 
	            {% for d in date_list %}  
	            <li><a href="/{{d.year}}/{{ d|date:'m' }}/">{{ d|date:"N" }}</a></li>
	            {% endfor %}
	          </ul>

              <div style="clear:both;">
	            {% for i in object_list %}
	            <h3><a alt="permanent link to {{ i.post_title }}" 
			           href="{{ i.get_absolute_url }}">
			        {{ i.post_title }}</a></h3>			
			    <p>{{ i.post_date_create|date:"F j, Y" }}</p>
	            {% endfor %}				
              </div>

          </div><!-- /span 7 -->
          <div class="span5">

          </div>
        
        </div><!-- /wrapper-box -->
      </div><!-- /row -->

    </div> <!-- /container -->

  </div><!-- / outer-wrapper -->
</div><!-- / content -->   


{% endblock %}