crunk-columns/templates/index.html

17 lines
491 B
HTML
Raw Normal View History

2023-06-03 18:12:55 +02:00
{% extends "base.html" %}
{% block main %}
<div class="crunkcolumns">
{% 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>
{% endfor%}
</div>
{% endblock %}