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.java14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/java/com/juick/http/www/Discover.java b/src/java/com/juick/http/www/Discover.java
index 98f46656..ca6415ff 100644
--- a/src/java/com/juick/http/www/Discover.java
+++ b/src/java/com/juick/http/www/Discover.java
@@ -74,9 +74,9 @@ public class Discover {
PageTemplates.pageHead(out, title, null);
PageTemplates.pageNavigation(out, locale, visitor, null);
- out.println("<div id=\"topwrapper\">");
- out.println("<div id=\"wrapper\">");
- out.println("<div id=\"content\">");
+ PageTemplates.pageHomeColumn(out, sql, visitor, locale);
+
+ out.println("<section id=\"content\">");
if (mids.size() > 0) {
out.println("<ul>");
@@ -88,14 +88,10 @@ public class Discover {
String nextpage = "?before=" + mids.get(mids.size() - 1);
out.println("<p class=\"page\"><a href=\"" + nextpage + "\">Older →</a></p>");
}
- PageTemplates.pageFooter(request, out, locale, visitor, true);
- out.println("</div>");
- out.println("</div>"); // wrapper
- PageTemplates.pageHomeColumn(out, sql, visitor, locale);
-
- out.println("</div>"); // topwrapper
+ out.println("</section>");
+ PageTemplates.pageFooter(request, out, locale, visitor, true);
PageTemplates.pageDialogTemplate(out, locale);
PageTemplates.pageEnd(out);
} finally {