summaryrefslogtreecommitdiff
path: root/src/site.clj
diff options
context:
space:
mode:
authordumpfmprod <dumpfmprod@ubuntu.(none)>2010-07-10 14:29:43 -0400
committerdumpfmprod <dumpfmprod@ubuntu.(none)>2010-07-10 14:29:43 -0400
commit25b66885b8c6b466b111aa0566eb600ce147c04d (patch)
tree5b11ba4d05100cfff2bb2ddaca249ab88b31b23e /src/site.clj
parent92a06be0bbd17c0fe686f151a47d2cd4426acff8 (diff)
making each page title unique to be nicer to google
Diffstat (limited to 'src/site.clj')
-rw-r--r--src/site.clj2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/site.clj b/src/site.clj
index 5294f40..d537081 100644
--- a/src/site.clj
+++ b/src/site.clj
@@ -548,6 +548,7 @@ FROM users u
(.setAttribute st "next" (inc offset)))
(if (not= offset 0)
(.setAttribute st "prev" (max (dec offset) 0)))
+ (.setAttribute st "page_current" (inc offset))
(.setAttribute st "debug_log_items" (logger))
(.toString st))
(resp-error "NO_USER")))
@@ -894,6 +895,7 @@ order by count desc limit ? offset ?")
(.setAttribute st "next" (inc offset)))
(if (not= offset 0)
(.setAttribute st "prev" (max (dec offset) 0)))
+ (.setAttribute st "page_current" (inc offset))
(.setAttribute st "dumps" dumps)
(.setAttribute st "infobar" info-bar)
(.setAttribute st "page_title" page-title)