summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-07-19 00:32:16 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2012-07-19 00:32:16 +0200
commitd7d99cb650790c5529afb07f5d61041d41403b1b (patch)
tree4f3b53534783fd7a4731ba1960198c96a7430336
parent231ce0c27918fa63089f70fbdefab1d57f7374b2 (diff)
downloadcollection-json-explorer-d7d99cb650790c5529afb07f5d61041d41403b1b.tar.gz
collection-json-explorer-d7d99cb650790c5529afb07f5d61041d41403b1b.tar.bz2
collection-json-explorer-d7d99cb650790c5529afb07f5d61041d41403b1b.tar.xz
collection-json-explorer-d7d99cb650790c5529afb07f5d61041d41403b1b.zip
o Adding ability to inject snippes in <head>.
-rw-r--r--views/layout.jade2
1 files changed, 2 insertions, 0 deletions
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