aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/juick/http/www/Discover.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/juick/http/www/Discover.java')
-rw-r--r--src/java/com/juick/http/www/Discover.java11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/java/com/juick/http/www/Discover.java b/src/java/com/juick/http/www/Discover.java
index 1db264f7..1ba6992a 100644
--- a/src/java/com/juick/http/www/Discover.java
+++ b/src/java/com/juick/http/www/Discover.java
@@ -73,9 +73,11 @@ public class Discover {
canonical = "<link rel=\"canonical\" href=\"http://juick.com/tag/" + URLEncoder.encode(paramTag.Name, "UTF-8") + "\"/>";
}
PageTemplates.pageHead(out, title, canonical);
- PageTemplates.pageNavigation(out, visitor, null);
- PageTemplates.pageHomeColumn(out, sql, visitor);
+ if (!Utils.isMobileRequest(request)) {
+ PageTemplates.pageNavigation(out, visitor, null);
+ PageTemplates.pageHomeColumn(out, sql, visitor);
+ }
out.println("<section id=\"content\">");
@@ -90,7 +92,10 @@ public class Discover {
out.println("</section>");
- PageTemplates.pageFooter(request, out, visitor, true);
+ if (!Utils.isMobileRequest(request)) {
+ PageTemplates.pageFooter(request, out, visitor, true);
+ }
+
PageTemplates.pageDialogTemplate(out);
PageTemplates.pageEnd(out);
} finally {