WhiteDog

Add N var

...@@ -116,6 +116,11 @@ ...@@ -116,6 +116,11 @@
116 "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", 116 "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz",
117 "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=" 117 "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM="
118 }, 118 },
119 + "asap": {
120 + "version": "2.0.6",
121 + "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz",
122 + "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY="
123 + },
119 "asn1": { 124 "asn1": {
120 "version": "0.2.3", 125 "version": "0.2.3",
121 "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz", 126 "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz",
...@@ -920,6 +925,15 @@ ...@@ -920,6 +925,15 @@
920 "os-name": "1.0.3" 925 "os-name": "1.0.3"
921 } 926 }
922 }, 927 },
928 + "define-properties": {
929 + "version": "1.1.2",
930 + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.2.tgz",
931 + "integrity": "sha1-g6c/L+pWmJj7c3GTyPhzyvbUXJQ=",
932 + "requires": {
933 + "foreach": "2.0.5",
934 + "object-keys": "1.0.11"
935 + }
936 + },
923 "defined": { 937 "defined": {
924 "version": "1.0.0", 938 "version": "1.0.0",
925 "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz", 939 "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz",
...@@ -1160,6 +1174,32 @@ ...@@ -1160,6 +1174,32 @@
1160 "fill-range": "2.2.3" 1174 "fill-range": "2.2.3"
1161 } 1175 }
1162 }, 1176 },
1177 + "express-handlebars": {
1178 + "version": "3.0.0",
1179 + "resolved": "https://registry.npmjs.org/express-handlebars/-/express-handlebars-3.0.0.tgz",
1180 + "integrity": "sha1-gKBwu4GbCeSvLKbQeA91zgXnXC8=",
1181 + "requires": {
1182 + "glob": "6.0.4",
1183 + "graceful-fs": "4.1.11",
1184 + "handlebars": "4.0.11",
1185 + "object.assign": "4.0.4",
1186 + "promise": "7.3.1"
1187 + },
1188 + "dependencies": {
1189 + "glob": {
1190 + "version": "6.0.4",
1191 + "resolved": "https://registry.npmjs.org/glob/-/glob-6.0.4.tgz",
1192 + "integrity": "sha1-DwiGD2oVUSey+t1PnOJLGqtuTSI=",
1193 + "requires": {
1194 + "inflight": "1.0.6",
1195 + "inherits": "2.0.3",
1196 + "minimatch": "3.0.4",
1197 + "once": "1.4.0",
1198 + "path-is-absolute": "1.0.1"
1199 + }
1200 + }
1201 + }
1202 + },
1163 "extend": { 1203 "extend": {
1164 "version": "3.0.1", 1204 "version": "3.0.1",
1165 "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz", 1205 "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz",
...@@ -1258,6 +1298,11 @@ ...@@ -1258,6 +1298,11 @@
1258 "for-in": "1.0.2" 1298 "for-in": "1.0.2"
1259 } 1299 }
1260 }, 1300 },
1301 + "foreach": {
1302 + "version": "2.0.5",
1303 + "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz",
1304 + "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k="
1305 + },
1261 "forever-agent": { 1306 "forever-agent": {
1262 "version": "0.6.1", 1307 "version": "0.6.1",
1263 "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", 1308 "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",
...@@ -1327,6 +1372,11 @@ ...@@ -1327,6 +1372,11 @@
1327 "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", 1372 "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
1328 "dev": true 1373 "dev": true
1329 }, 1374 },
1375 + "function-bind": {
1376 + "version": "1.1.1",
1377 + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
1378 + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
1379 + },
1330 "get-func-name": { 1380 "get-func-name": {
1331 "version": "2.0.0", 1381 "version": "2.0.0",
1332 "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", 1382 "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz",
...@@ -2410,6 +2460,21 @@ ...@@ -2410,6 +2460,21 @@
2410 "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", 2460 "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
2411 "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" 2461 "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM="
2412 }, 2462 },
2463 + "object-keys": {
2464 + "version": "1.0.11",
2465 + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.11.tgz",
2466 + "integrity": "sha1-xUYBd4rVYPEULODgG8yotW0TQm0="
2467 + },
2468 + "object.assign": {
2469 + "version": "4.0.4",
2470 + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.0.4.tgz",
2471 + "integrity": "sha1-scnMBE7xuf5jYG/BQau7MuFHMMw=",
2472 + "requires": {
2473 + "define-properties": "1.1.2",
2474 + "function-bind": "1.1.1",
2475 + "object-keys": "1.0.11"
2476 + }
2477 + },
2413 "object.omit": { 2478 "object.omit": {
2414 "version": "2.0.1", 2479 "version": "2.0.1",
2415 "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", 2480 "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz",
...@@ -2627,6 +2692,14 @@ ...@@ -2627,6 +2692,14 @@
2627 "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz", 2692 "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz",
2628 "integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=" 2693 "integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M="
2629 }, 2694 },
2695 + "promise": {
2696 + "version": "7.3.1",
2697 + "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz",
2698 + "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==",
2699 + "requires": {
2700 + "asap": "2.0.6"
2701 + }
2702 + },
2630 "punycode": { 2703 "punycode": {
2631 "version": "1.4.1", 2704 "version": "1.4.1",
2632 "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", 2705 "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
18 "zombie": "^5.0.7" 18 "zombie": "^5.0.7"
19 }, 19 },
20 "dependencies": { 20 "dependencies": {
21 + "express-handlebars": "^3.0.0",
21 "handlebars": "^4.0.11", 22 "handlebars": "^4.0.11",
22 "linkchecker": "^1.1.0" 23 "linkchecker": "^1.1.0"
23 } 24 }
......
...@@ -6,6 +6,47 @@ ...@@ -6,6 +6,47 @@
6 {{#if showTests}} 6 {{#if showTests}}
7 <link rel="stylesheet" href="/vendor/mocha.css"> {{/if}} 7 <link rel="stylesheet" href="/vendor/mocha.css"> {{/if}}
8 <script src="//code.jquery.com/jquery-2.0.2.min.js"></script> 8 <script src="//code.jquery.com/jquery-2.0.2.min.js"></script>
9 +
10 + <style>
11 + ul {
12 + list-style-type: none;
13 + margin: 0;
14 + padding: 0;
15 + overflow: hidden;
16 + background-color: #333;
17 + }
18 + li {
19 + float: left;
20 + }
21 +
22 + li a {
23 + display: block;
24 + color: white;
25 + text-align: center;
26 + padding: 14px 16px;
27 + text-decoration: none;
28 + }
29 +
30 + li a:hover {
31 + background-color: #111;
32 + }
33 + </style>
34 +
35 + <ul>
36 + <li>
37 + <a class="active" href="/">Home</a>
38 + </li>
39 + <li>
40 + <a href="/about">About</a>
41 + </li>
42 + <li>
43 + <a href="/tours/hood-river">Hood River</a>
44 + </li>
45 + <li>
46 + <a href="/tours/oregon-coast">Oregon Coast</a>
47 + </li>
48 + </ul>
49 +
9 </head> 50 </head>
10 51
11 <body> 52 <body>
......