From d7d99cb650790c5529afb07f5d61041d41403b1b Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Thu, 19 Jul 2012 00:32:16 +0200 Subject: o Adding ability to inject snippes in . --- views/layout.jade | 2 ++ 1 file changed, 2 insertions(+) (limited to 'views') diff --git a/views/layout.jade b/views/layout.jade index 004a5f0..084e06d 100644 --- a/views/layout.jade +++ b/views/layout.jade @@ -16,6 +16,8 @@ html link(href='/bootstrap-2.0.4/css/bootstrap-responsive.css', rel='stylesheet') // if lt IE 9 script(src='http://html5shim.googlecode.com/svn/trunk/html5.js') + if typeof process.env.head_snippet === 'string' + | !{process.env.head_snippet} body(data-spy='scroll') // block navbar -- cgit v1.2.3