From 9637e123f2c5de56eef9731cd66a22d087ca2355 Mon Sep 17 00:00:00 2001 From: dumpfmprod Date: Sat, 10 Jul 2010 20:07:25 -0400 Subject: Revert "making each page title unique to be nicer to google" This reverts commit 25b66885b8c6b466b111aa0566eb600ce147c04d. --- src/site.clj | 2 -- template/popular.st | 2 +- template/profilelog.st | 2 +- template/single_message.st | 2 +- template/tagged_dumps.st | 2 +- template/userlog.st | 2 +- 6 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/site.clj b/src/site.clj index d537081..5294f40 100644 --- a/src/site.clj +++ b/src/site.clj @@ -548,7 +548,6 @@ 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"))) @@ -895,7 +894,6 @@ 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) diff --git a/template/popular.st b/template/popular.st index a30feed..b48a999 100644 --- a/template/popular.st +++ b/template/popular.st @@ -1,6 +1,6 @@ - $nick$'s most loved posts - dump.fm + dump.fm - $nick$'s popular $head()$ diff --git a/template/profilelog.st b/template/profilelog.st index 74f6a90..24e9e07 100644 --- a/template/profilelog.st +++ b/template/profilelog.st @@ -1,6 +1,6 @@ - $nick$'s dump.fm (page $page_current$) + $nick$'s dump.fm $head()$ diff --git a/template/single_message.st b/template/single_message.st index 1cfd9fd..e017b6f 100644 --- a/template/single_message.st +++ b/template/single_message.st @@ -1,7 +1,7 @@ - a post by $dump.nick$ - dump.fm + dump.fm $head()$