Enabled search, added lodash and other minor improvements

This commit is contained in:
Deon George
2013-05-08 19:42:55 +10:00
parent e3c93e1d38
commit 42059cb0e5
8 changed files with 108 additions and 56 deletions

View File

@@ -175,6 +175,11 @@ abstract class lnApp_Controller_TemplateDefault extends Controller_Template {
$this->response->bodyadd(sprintf('<table class="content"><tr><td>%s</td></tr></table>',$this->template->content));
}
// Used by our javascript to know what the SITE URL is.
Script::factory()
->type('stdin')
->data('var site_url="'.URL::site('',TRUE).'";');
parent::after();
// Generate and check the ETag for this file