crunk-columns/templates/index.html
2023-11-05 17:35:00 +01:00

28 lines
760 B
HTML

{% extends "base.html" %}
{% block main %}
{% block custombefore %}
{% include "custombefore.html" %}
{% endblock %}
<div class="crunkcolumns">
{% block customcolumn %}
{% include "customcolumn.html" %}
{% endblock %}
{% for column in columns %}
<div class="feed {{ column.title.replace(' ', '') }}">
<h1>{{ column.title }}</h1>
<div class="feeditems">
{% for feedtitle, text in column.entries.items() %}
<div class="feeditem" id="{{ column.title.replace(' ', '') + '_' + feedtitle.replace(' ', '') }}">
<h2>{{ feedtitle }}</h2>
<div>{{ text[0]|safe }}</div>
</div>
{% endfor%}
</div>
</div>
{% endfor%}
</div>
{% block customafter %}
{% include "customafter.html" %}
{% endblock %}
{% endblock %}