crunk-columns/templates/index.html

26 lines
721 B
HTML
Raw Normal View History

2023-06-03 18:12:55 +02:00
{% extends "base.html" %}
{% block main %}
2023-11-03 20:44:18 +01:00
{% block custombefore %}
{% include "custombefore.html" %}
{% endblock %}
2023-06-03 18:12:55 +02:00
<div class="crunkcolumns">
2023-11-03 20:44:18 +01:00
{% block customcolumn %}
{% include "customcolumn.html" %}
{% endblock %}
{% for column in columns %}
<div class="feed {{ column.title.replace(' ', '') }}">
2023-06-03 18:12:55 +02:00
<h1>{{ column.title }}</h1>
{% for feedtitle, text in column.entries.items() %}
<div class="feeditem" id="{{ column.title.replace(' ', '') + '_' + feedtitle.replace(' ', '') }}">
2023-06-03 18:12:55 +02:00
<h2>{{ feedtitle }}</h2>
<div>{{ text[0]|safe }}</div>
2023-06-03 18:12:55 +02:00
</div>
{% endfor%}
</div>
2023-11-03 20:44:18 +01:00
{% endfor%}
2023-06-03 18:12:55 +02:00
</div>
2023-11-03 20:44:18 +01:00
{% block customafter %}
{% include "customafter.html" %}
{% endblock %}
2023-06-03 18:12:55 +02:00
{% endblock %}