From 1179b2a2aefb6a4c15db9634cc0c9c910fea8efa Mon Sep 17 00:00:00 2001 From: Scott Ostler Date: Sun, 14 Nov 2010 13:16:12 -0800 Subject: Added redis back for popular posts, fixed CTRL-M chars in src/site.clj, tweaked single_message.st --- template/head.st | 4 ++-- template/popular_dump.st | 2 +- template/single_message.st | 56 +++++++++++++++++++++++++++------------------- 3 files changed, 36 insertions(+), 26 deletions(-) (limited to 'template') diff --git a/template/head.st b/template/head.st index ad23a44..0e59539 100644 --- a/template/head.st +++ b/template/head.st @@ -2,6 +2,8 @@ + + @@ -10,8 +12,6 @@ $if(!user_nick)$ - - $endif$ $if(isadmin)$ diff --git a/template/popular_dump.st b/template/popular_dump.st index 4709725..88e61c4 100644 --- a/template/popular_dump.st +++ b/template/popular_dump.st @@ -9,7 +9,7 @@ $dump.created_on$ - in $dump.key$$dump.content$
-$dump.count$ $dump.favers: { f | $f.nick$   }$ +$dump.count$ $dump.favers: { nick | $nick$   }$
$share_buttons()$ diff --git a/template/single_message.st b/template/single_message.st index e017b6f..1428f2b 100644 --- a/template/single_message.st +++ b/template/single_message.st @@ -1,37 +1,47 @@ - dump.fm $head()$ - - $banner()$ -


-
-
-$if(dump.avatar)$ -
-
- -
- $dump.nick$ -
-
-$endif$ -
-
$dump.content$
-
-$share_buttons()$ +



+
+ + - + + +
$dump.content$
+
+
+ $dump.count$ $dump.favers: { nick | $nick$   }$ +
+$share_buttons()$ +
+ + +
+ $footer()$ +
+
+ -- cgit v1.2.3-70-g09d2