From 7640ae31f70c7d83dd8306a9d46fe4f30debecb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Sun, 16 Jun 2013 22:14:21 +0200 Subject: [PATCH] Everything is in the template. re #73 --- templates/default/page.html | 4 +++- util.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/default/page.html b/templates/default/page.html index 054ae54..85757f0 100644 --- a/templates/default/page.html +++ b/templates/default/page.html @@ -1,3 +1,5 @@ +
{{#def.header}} {{#def.main}} -{{#def.footer}} \ No newline at end of file +{{#def.footer}} +
\ No newline at end of file diff --git a/util.js b/util.js index 11d9bd3..fffa612 100644 --- a/util.js +++ b/util.js @@ -40,7 +40,7 @@ function updatePage (data) { currentData = data; var result = templatePage (data); document.title = data.title; - $(".container").html (result); + $("body").html (result); if ($.cookie('toolbar') == 1) $("#tool").show ();