compact view for archive

This commit is contained in:
j 2023-08-21 11:24:53 +02:00
commit 567ae6bde3
3 changed files with 30 additions and 5 deletions

View file

@ -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>

View file

@ -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">