-
Notifications
You must be signed in to change notification settings - Fork 2
/
chonkySling.html
490 lines (453 loc) · 23.3 KB
/
chonkySling.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-NC2Q2HQ');</script>
<!-- End Google Tag Manager -->
<title>LearnMYOG Chonky Sling</title>
<link rel="apple-touch-icon" sizes="180x180" href="images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="images/favicon-16x16.png">
<link rel="manifest" href="images/site.webmanifest">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<meta name="description" content="Learn to Make Your Own Gear (MYOG). DIY sewing patterns for ultralight backpacks, technical apparel, and outdoor adventurers.">
<link rel="stylesheet" href="assets/css/main.css" />
<noscript><link rel="stylesheet" href="assets/css/noscript.css" /></noscript>
<script defer src="https://code.jquery.com/jquery-3.6.3.min.js"></script>
<script defer src="assets/js/colorswitcher.js"></script>
<script defer src="assets/js/header.js" type="text/javascript"></script>
<script defer src="assets/js/nav.js" type="text/javascript"></script>
<script defer src="assets/js/footer.js" type="text/javascript"></script>
<!-- Global site tag (gtag.js) - Google Analytics GA4 -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WP4C42S5VW"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-WP4C42S5VW');
</script>
<!-- Global site tag (gtag.js) - Google Analytics GA4 -->
</head>
<body class="is-preload">
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NC2Q2HQ"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div id="wrapper" class="divided">
<!-- Banner -->
<header-template></header-template>
<!-- Nav -->
<div class="spotlight-color invert align-center">
<nav-template></nav-template>
</div>
<div id="main">
<!-- Title and Gallery -->
<section class="wrapper style1 align-center">
<div class="inner">
<h1>Chonky Sling</h1>
</div>
<!-- Gallery -->
<div class="gallery style1 small">
<article class="youtube">
<a href="https://www.youtube.com/embed/jeW5VaxLBLs" class="image" data-poptrox="iframe,436x775">
<img src="images/chonkysling/thumbs/launchgraphic.jpg" title="Chonky Sling dimensions and hardware" loading="lazy" /><div class="play-button"></div></a>
</article>
<article>
<a href="images/chonkysling/sling5.jpg" class="image">
<img src="images/chonkysling/thumbs/sling5.jpg" title="Chonky Sling with exterior bottle pocket and 3D front panel" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/sling7.jpg" class="image">
<img src="images/chonkysling/thumbs/sling7.jpg" title="Self-compressing ambidextrous sling bag" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/snowday.jpg" class="image">
<img src="images/chonkysling/thumbs/snowday.jpg" title="Chonky Sling prototype in 500d Cordura" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/snowday2.jpg" class="image">
<img src="images/chonkysling/thumbs/snowday2.jpg" title="Chonky Sling prototype on snowy day hike" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/sling3.jpg" class="image">
<img src="images/chonkysling/thumbs/sling3.jpg" title="Two straps in pattern, this one is more adventurous." loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/olivehero3.jpg" class="image">
<img src="images/chonkysling/thumbs/olivehero3.jpg" title="Foam panels add structure, shown with casual strap" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/olivesling3.jpg" class="image">
<img src="images/chonkysling/thumbs/olivesling3.jpg" title="Self compressing strap with no fiddly adjusters" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/olivesling4.jpg" class="image">
<img src="images/chonkysling/thumbs/olivesling4.jpg" title="Bottle pocket makes carrying water enjoyable" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/sling6.jpg" class="image">
<img src="images/chonkysling/thumbs/sling6.jpg" title="Fully lined with a self-made MYOG label :)" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/sling1.jpg" class="image">
<img src="images/chonkysling/thumbs/sling1.jpg" title="Everyday Fanny Pack is swallowed by Chonky Sling" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/sling2.jpg" class="image">
<img src="images/chonkysling/thumbs/sling2.jpg" title="EDC commute ready" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/sling4.jpg" class="image">
<img src="images/chonkysling/thumbs/sling4.jpg" title="Tested well as carry-on and travel bag" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/instructions.png" class="image">
<img src="images/chonkysling/thumbs/instructions.png" title="Snapshot of suggested materials included within instructions" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/instructions2.png" class="image">
<img src="images/chonkysling/thumbs/instructions2.png" title="Detailed construction notes. See below for high res photos of key steps." loading="lazy" /></a>
</article>
</div>
</section>
<!-- Upper Content -->
<section class="wrapper style1 align-center">
<div class="inner">
<div class=" align-left">
<section>
<header>
<h3>Design Features</h3>
</header>
<div class="content">
<p>When the venerable Everyday Fanny Pack just won't do, reach for the Chonky Sling.
<ul>
<li>Symmetrical shape and removable strap for ambidextrous wear</li>
<li>3D front zipper pocket and internal organization pockets</li>
<li>Inspired strap system self compresses the bag without fiddly adjusters or hooks</li>
<li>External stretchy bottle pocket with secure cord channel</li>
<li>Foam lined side, bottom, and back panels for structure and padding precious cargo</li>
<li>Thicc! Over 6L capacity with additional volume in front and bottle pockets</li>
<li>Easily customizable internal organizers, cell dividers, or external attachments</li>
</ul>
</p>
<h4>Bag Size</h4>
<ul>
<li>Main compartment measures approximately 7 x 14 x 4 inches (18 x 36 x 10 cm)</li>
<li>Bottle pocket is designed for 24 fl oz smartwater® bottle but is easily adjustable in length</li>
</ul>
<h4>Sewing Skill Level - Intermediate to Advanced</h4>
<p>
Chonky Sling is a challenging project as you'll be sewing multiple slippery fabric layers, zippers with linings, shaping darts, working around floating foam panels, and precisely sewing curved seams. Chonky Sling can of course be simplified to suit your skill level and tools by omitting linings and foam panels but where's the fun in that?
That said, a poor maker blames their tools. I'm sure an experienced bag maker can work through this project. A walking foot attachment and extension table is recommended. While the instructions detail every step, familiarity with sewing terms and construction techniques is expected. If comfortable making the <a href="edcFannyPack.html" target="_blank">Everyday Fanny Pack</a> and/or the <a href="framebags.html">Bikepacking Frame Bag set</a>, the Chonky Sling provides a nice progression in skill.
</p>
</div>
</section>
</div>
</div>
</section>
<!-- Download Link -->
<section class="wrapper style2 align-center">
<div class="inner">
<div class="index align-left">
<section>
<header><h3>Digital Sewing Pattern</h3></header>
<div class="content">
<ul>
<li>Comprehensive step-by-step sewing instructions with construction photos</li>
<li>Cut layout, material yardages, and hardware list</li>
<li>Two shoulder strap options, one casual and one adventurous</li>
<li>Multiple PDF paper sizes for printing convenience
<ul style="margin-bottom: 0;">
<li>Print at home on 8.5x11 inch Letter or A4 sized paper</li>
<li>Print at copy shop on one 36x48 inch or A0 sized sheet</li>
</ul></li>
<li>Seam allowances included for all pattern panels and sizes</li>
</ul>
<a href="https://shop.learnmyog.com/shop/p/chonky-sling" class="button primary icon solid fa-credit-card" style="font-size: 100%">$20</a>
<p>All LearnMYOG patterns are for <strong>personal, non-commercial use only.</strong></p>
<p>We're excited to invite you to shop at our new and improved store, where you can enjoy a smoother checkout experience and flexible payment options, including PayPal and many other methods.</p>
<p>If you encounter any issues or prefer to use our previous platform, you can still make purchases at <a href="https://payhip.com/b/3Xa2b">Payhip</a>.</p>
<p>As always, if you have any questions or need assistance, don’t hesitate to reach out—we’re here to help!</p>
</div>
</section>
</div>
</div> <!-- inner -->
</section> <!-- primary content -->
<!-- Lower Content -->
<section class="wrapper style1 align-center">
<div class="inner">
<!-- <hr> -->
<div class="align-left">
<!-- Materials -->
<section>
<header>
<h3>Recommended Fabrics</h3>
</header>
<div class="content">
<div class="table-wrapper">
<table>
<thead>
<tr>
<th>Material</th>
<th>Description</th>
<th>Length (Width)</th>
<th>Links</th>
</tr>
</thead>
<tbody>
<tr>
<td>Main Fabric</td>
<td>ECOPAC EPX200, a recycled laminated pack fabric</td>
<td>1/2 yd (58")</td>
<td><a href="https://ripstopbytheroll.com/pages/ecopak?rfsn=4608557.2d546b9" target="_blank"><img class="partner icon" src="/images/shared/partners/48/rbtr.png" alt="Ripstop by the Roll logo"></a></td>
</tr>
<tr>
<td>Lining Fabric</td>
<td>Lighter weight coated nylon ripstop for ease of cleaning</td>
<td>1/2 yd (58")</td>
<td><a href="https://ripstopbytheroll.com/products/1-1-oz-silnylon?rfsn=4608557.2d546b9" target="_blank"><img class="partner icon" src="/images/shared/partners/48/rbtr.png" alt="Ripstop by the Roll logo"></a></td>
</tr>
<tr>
<td>Stretch Bottle Pocket</td>
<td>Venom UL Stretch Mesh or a heavy lycra Duraweave</td>
<td>8" (12")</td>
<td><a href="https://ripstopbytheroll.com/products/3d-spacer-mesh-1-8?rfsn=4608557.2d546b9" target="_blank"><img class="partner icon" src="/images/shared/partners/48/rbtr.png" alt="Ripstop by the Roll logo"></a></td>
</tr>
<tr>
<td>Shoulder Strap Padding</td>
<td>1/8" 3D Spacer Mesh</td>
<td>4" (18")</td>
<td><a href="https://ripstopbytheroll.com/products/venom-ul-stretch-mesh?rfsn=4608557.2d546b9" target="_blank"><img class="partner icon" src="/images/shared/partners/48/rbtr.png" alt="Ripstop by the Roll logo"></a></td>
</tr>
<tr>
<td>Foam Sheets</td>
<td>2-3mm thick closed cell foam e.g. EVA foam</td>
<td>12" (30")</td>
<td><a href="https://amzn.to/3VmqXgQ" target="_blank"><img class="partner icon" src="/images/shared/partners/48/amazon.png" alt="Amazon logo"></a></td>
</tr>
</tbody>
<tfoot>
<tr><td></td><td></td><td></td><td></td></tr>
</tfoot>
</table>
<p class="disclosure">Qualified purchases support LearnMYOG.com at no additional cost to you. See <a href="/about.html#disclosures">Disclosures</a> for more information.</p>
<p>The pattern instructions includes a <b>comprehensive material list</b> including recommended hardware, zippers, and webbing.</br>
See <a href="fabrics.html">Technical Fabrics</a> for more options and details about pack fabrics, linings, and foam. </p>
<h4>Suggested needle and thread pairing</h4>
<ul class="alt" >
<li>🪡 Microtex or Jeans/Denim Needle, size 90/14</li>
<li>🧵 Gutermann MARA 70 - Tex 40 polyester thread</li>
</ul>
<div class="items style3 small">
<section>
<a href="https://ripstopbytheroll.com/?rfsn=4608557.2d546b9" target="_blank" ><img class="partner desaturated fit" src="images/shared/partners/200/RBTR.webp" alt="Ripstop by the Roll" /></a>
</section>
<section>
<a href="https://www.wawak.com/" target="_blank" ><img class="partner desaturated fit" src="images/shared/partners/200/wawak.webp" alt="Wawak" /></a>
</section>
<section>
<a href="https://amzn.to/3Gh2pBZ" target="_blank" ><img class="partner desaturated fit" src="images/shared/partners/200/amazon.webp" alt="Amazon" /></a>
</section>
</div>
</div>
</div>
</section>
</div>
<div class="align-center">
<!-- Videos -->
<header>
<h2>Additional Resources</h2>
</header>
<section class="items style3 big">
<article class="youtube">
<a href="https://youtu.be/4EJunaaXNJs" target="_blank" rel="noopener">
<img class="thumbnail fit" src="images/chonkysling/thumbs/yt-thumb.jpg" title="sewalong" loading="lazy"/>
<div class="play-button"></div>
</a>
<div class="caption">Chonky Sling Tips & Tricks</div>
</article>
</section>
<p>
<button id = "toggle_build_gallery_button" class="button large icon solid fa-angle-down" >Detailed Build Photos</button>
</p>
<!-- element hidden until button click, build_gallery.js -->
<div id = "build_gallery" style="display:none;" class="gallery style1 small">
<article>
<a href="images/chonkysling/build/1.1.jpg" class="image">
<img src="images/chonkysling/build/thumbs/1.1.jpg" title="Step 1.1" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/1.2.jpg" class="image">
<img src="images/chonkysling/build/thumbs/1.2.jpg" title="Step 1.2" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/2.2.jpg" class="image">
<img src="images/chonkysling/build/thumbs/2.2.jpg" title="Step 2.2" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/2.3.jpg" class="image">
<img src="images/chonkysling/build/thumbs/2.3.jpg" title="Step 2.3" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/2.4.jpg" class="image">
<img src="images/chonkysling/build/thumbs/2.4.jpg" title="Step 2.4" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/2.6.jpg" class="image">
<img src="images/chonkysling/build/thumbs/2.6.jpg" title="Step 2.6" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/3.2.jpg" class="image">
<img src="images/chonkysling/build/thumbs/3.2.jpg" title="Step 3.2" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/3.3.jpg" class="image">
<img src="images/chonkysling/build/thumbs/3.3.jpg" title="Step 3.3" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/4.1a.jpg" class="image">
<img src="images/chonkysling/build/thumbs/4.1a.jpg" title="Step 4.1a" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/4.1b.jpg" class="image">
<img src="images/chonkysling/build/thumbs/4.1b.jpg" title="Step 4.1b" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/4.2.jpg" class="image">
<img src="images/chonkysling/build/thumbs/4.2.jpg" title="Step 4.2" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/4.3.jpg" class="image">
<img src="images/chonkysling/build/thumbs/4.3.jpg" title="Step 4.3" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/4.4a.jpg" class="image">
<img src="images/chonkysling/build/thumbs/4.4a.jpg" title="Step 4.4a" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/4.4b.jpg" class="image">
<img src="images/chonkysling/build/thumbs/4.4b.jpg" title="Step 4.4b" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/5.1.jpg" class="image">
<img src="images/chonkysling/build/thumbs/5.1.jpg" title="Step 5.1" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/5.10.jpg" class="image">
<img src="images/chonkysling/build/thumbs/5.10.jpg" title="Step 5.10" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/5.10b.jpg" class="image">
<img src="images/chonkysling/build/thumbs/5.10b.jpg" title="Step 5.10b" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/5.2.jpg" class="image">
<img src="images/chonkysling/build/thumbs/5.2.jpg" title="Step 5.2" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/5.3.jpg" class="image">
<img src="images/chonkysling/build/thumbs/5.3.jpg" title="Step 5.3" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/5.4.jpg" class="image">
<img src="images/chonkysling/build/thumbs/5.4.jpg" title="Step 5.4" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/5.7.jpg" class="image">
<img src="images/chonkysling/build/thumbs/5.7.jpg" title="Step 5.7" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/5.8.jpg" class="image">
<img src="images/chonkysling/build/thumbs/5.8.jpg" title="Step 5.8" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/5.9.jpg" class="image">
<img src="images/chonkysling/build/thumbs/5.9.jpg" title="Step 5.9" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/6a.1.jpg" class="image">
<img src="images/chonkysling/build/thumbs/6a.1.jpg" title="Step 6a.1" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/6a.10.jpg" class="image">
<img src="images/chonkysling/build/thumbs/6a.10.jpg" title="Step 6a.10" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/6a.11.jpg" class="image">
<img src="images/chonkysling/build/thumbs/6a.11.jpg" title="Step 6a.11" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/6a.2.jpg" class="image">
<img src="images/chonkysling/build/thumbs/6a.2.jpg" title="Step 6a.2" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/6a.2a.jpg" class="image">
<img src="images/chonkysling/build/thumbs/6a.2a.jpg" title="Step 6a.2a" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/6a.4.jpg" class="image">
<img src="images/chonkysling/build/thumbs/6a.4.jpg" title="Step 6a.4" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/6a.6.jpg" class="image">
<img src="images/chonkysling/build/thumbs/6a.6.jpg" title="Step 6a.6" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/6a.9.jpg" class="image">
<img src="images/chonkysling/build/thumbs/6a.9.jpg" title="Step 6a.9" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/6b.2.jpg" class="image">
<img src="images/chonkysling/build/thumbs/6b.2.jpg" title="Step 6b.2" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/6b.4.jpg" class="image">
<img src="images/chonkysling/build/thumbs/6b.4.jpg" title="Step 6b.4" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/6b.5a.jpg" class="image">
<img src="images/chonkysling/build/thumbs/6b.5a.jpg" title="Step 6b.5a" loading="lazy" /></a>
</article>
<article>
<a href="images/chonkysling/build/6b.5b.jpg" class="image">
<img src="images/chonkysling/build/thumbs/6b.5b.jpg" title="Step 6b.5b" loading="lazy" /></a>
</article>
</div>
</div>
</div>
</section>
</div> <!-- main -->
</div>
<!-- Footer -->
<footer-template></footer-template>
<script defer src="assets/js/jquery.scrollex.min.js"></script>
<script defer src="assets/js/jquery.scrolly.min.js"></script>
<script defer src="assets/js/jquery.poptrox.min.js"></script>
<script defer src="assets/js/browser.min.js"></script>
<script defer src="assets/js/breakpoints.min.js"></script>
<script defer src="assets/js/util.js"></script>
<script defer src="assets/js/main.js"></script>
<script defer src="assets/js/build_gallery.js"></script>
<script defer>
window.addEventListener('load', function () {
const pgtitle = document.location.href.match(/[^\/]+$/)[0] //get page name e.g. map.html
try {
document.querySelector(`#nav .links a[href*="${pgtitle}"`).parentElement.classList.add("active");
console.log(pgtitle,"is a nav element. Set active.")
} catch (TypeError) {
console.log(pgtitle,"not a nav element.")
}
}, false);
</script>
</body>
<!--
Story by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
</html>