very archive template

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
{% for year_dict in archive_list %}
    {% for year_date, months_list in year_dict.items %}
<h2>{{ year_date }}</h2>
        {% for month_list in months_list %}
            {% for month_name, entries in month_list.items %}
                <h3><p class="indented">{{ month_name }}</p></h3>
                {% for entry in entries %}
                    <p class="indented-more"><a href={{ entry.get_absolute_url }}>{{ entry.title }}</a></p>

{% endfor %}
{% endfor %}
{% endfor %}
{% endfor %}
{% endfor %}

More like this

  1. very archive view by stuntgoat 3 years, 7 months ago
  2. Using reverse() to do redirects by ubernostrum 5 years, 8 months ago
  3. Avoid widows using a template filter by jcroft 6 years, 2 months ago
  4. Owner required decorator by polarbear 4 years, 10 months ago
  5. Archive week beginning on monday by fivethreeo 4 years, 5 months ago

Comments

(Forgotten your password?)