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 %}
|
||||
<div class="crunkcolumns">
|
||||
{% for column in columns %}
|
||||
<div class="feed">
|
||||
<div class="feed {{ column.title.replace(' ', '') }}">
|
||||
<h1>{{ column.title }}</h1>
|
||||
{% for feedtitle, text in column.entries.items() %}
|
||||
<div class="feeditem">
|
||||
<div class="feeditem" id="{{ column.title.replace(' ', '') + '_' + feedtitle.replace(' ', '') }}">
|
||||
<h2>{{ feedtitle }}</h2>
|
||||
{{ text[0]|safe }}
|
||||
<div>{{ text[0]|safe }}</div>
|
||||
</div>
|
||||
{% endfor%}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user