aboutsummaryrefslogtreecommitdiff
path: root/index.st
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2009-03-01 14:16:27 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2009-03-01 14:16:27 +0100
commit3dbc931ae93a00c5b26db6b587ff0dc044162c3c (patch)
tree47a41deb0f0cc319a01fbdf8c0d88b826f1f5640 /index.st
parent4995e3901f80bf22e5e811a85698d1fd34bd2df4 (diff)
Highlight the currently displayed feed on the feed list.
Diffstat (limited to 'index.st')
-rw-r--r--index.st8
1 files changed, 7 insertions, 1 deletions
diff --git a/index.st b/index.st
index ffd8aee..16c8173 100644
--- a/index.st
+++ b/index.st
@@ -7,7 +7,13 @@ $header(title=title)$
<h2>Feeds</h2>
<ul>
$feeds:{feed |
- <li><a href="/?feed=$feed.id$">$feed.title$</a></li>
+ <li><a href="/?feed=$feed.id$"
+ $if(feed.active_p)$
+ class="active-feed-name"
+ $else$
+ class="inactive-feed-name"
+ $endif$
+ >$feed.title$</a></li>
}$
</ul>
</div>