quick and dirty way of adding ids and class per feed
This commit is contained in:
parent
5d6617da43
commit
9fe56e9507
@ -2,12 +2,12 @@
|
|||||||
{% block main %}
|
{% block main %}
|
||||||
<div class="crunkcolumns">
|
<div class="crunkcolumns">
|
||||||
{% for column in columns %}
|
{% for column in columns %}
|
||||||
<div class="feed">
|
<div class="feed {{ column.title.replace(' ', '') }}">
|
||||||
<h1>{{ column.title }}</h1>
|
<h1>{{ column.title }}</h1>
|
||||||
{% for feedtitle, text in column.entries.items() %}
|
{% for feedtitle, text in column.entries.items() %}
|
||||||
<div class="feeditem">
|
<div class="feeditem" id="{{ column.title.replace(' ', '') + '_' + feedtitle.replace(' ', '') }}">
|
||||||
<h2>{{ feedtitle }}</h2>
|
<h2>{{ feedtitle }}</h2>
|
||||||
{{ text[0]|safe }}
|
<div>{{ text[0]|safe }}</div>
|
||||||
</div>
|
</div>
|
||||||
{% endfor%}
|
{% endfor%}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user