1
2
3
4
5
6
7
8
9
10
11
12
|
1
2
3
4
5
6
7
8
9
10
11
12
|
-
+
|
{{left_sidebar_enabled=right_sidebar_enabled=False}}
{{extend 'layout.html'}}
<h1>{{= feed["feed_title"] }}</h1>
<a href="{{= URL("mark_read", args=[feed["id"]]) }}"> Mark feed as read</a>
<a href="{{= URL("mark_read", args=[feed["id"]]) }}">Mark feed as read</a>
<section id="story-list">
{{ for story in stories: }}
<a href="{{= URL(c="stories", f="view", vars=dict(story=story["id"], feed_id=feed["id"])) }}" class="{{= "unread" if story["read_status"] == 1 else "read" }}"><h2>{{= story["story_title"] }}</h2></a>
<p>{{= story["story_date"] }}</p>
{{ pass }}
</section>
|