compact view for archive
This commit is contained in:
parent
36ab41eba1
commit
567ae6bde3
3 changed files with 30 additions and 5 deletions
|
|
@ -1,6 +1,9 @@
|
|||
{% extends "base.html" %}
|
||||
{% block head %}
|
||||
<title>{{ settings.SITENAME }}</title>
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<div class="index">
|
||||
<div class="index archive">
|
||||
{% for item in items %}
|
||||
{% ifchanged item.week %}
|
||||
<h2 class="week">{{ item.year }} week {{ item.week }}</h2>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<div class="item">
|
||||
<a href="{{ item.get_absolute_url }}">
|
||||
<h1>{{ item.title }}</h1>
|
||||
<div class="info">
|
||||
<h1>{{ item.title }}</h1>
|
||||
{{ item.data.title }}
|
||||
</div>
|
||||
<div class="image">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue