|
1 | 1 | <!DOCTYPE html>
|
2 | 2 | <html id="page">
|
| 3 | + |
3 | 4 | <head>
|
4 | 5 | <meta charset="utf-8">
|
5 | 6 | <title>{{ .Title }}</title>
|
|
8 | 9 | <link rel="icon" href="/images/favicon.png">
|
9 | 10 | <link href="https://fonts.googleapis.com/css?family=Open+Sans:700,400" rel="stylesheet" type="text/css">
|
10 | 11 | <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
11 |
| - <link rel="stylesheet" href="{{ getenv "HELP_ROOT" | default .Site.Params.helpRoot }}/css/help.css"> |
| 12 | + <link rel="stylesheet" href="{{ getenv " HELP_ROOT" | default .Site.Params.helpRoot }}/css/help.css"> |
12 | 13 | {{ "<!--[if lt IE 9]>" | safeHTML }}
|
13 |
| - <script src="/js/html5shiv.min.js"></script> |
14 |
| - {{ "<![endif]-->" | safeHTML }} |
15 |
| - </head> |
16 |
| - <body data-url="{{ $.GitInfo }}" id="{{ $.URL | replaceRE `/(.*)/` "$1" | replaceRE `/` "-" }}-page"> |
17 |
| - <div id="container"> |
18 |
| - <header> |
19 |
| - <div class="inner"><a id="back" href="/"><span class="morewords">Back to JS Bin</span></a> |
20 |
| - <nav> |
21 |
| - <input id="search" placeholder="Search..." spellcheck="false" autocapitalize="off" autocorrect="off"> |
22 |
| - <ol id="results" hidden></ol> |
23 |
| - <a {{if eq $.Section "blog" }}class="selected"{{ end }} href="/blog">Blog</a> |
24 |
| - <a {{if eq $.Section "help"}}class="selected"{{ end }} href="/help">Help</a> |
25 |
| - </nav> |
26 |
| - </div> |
27 |
| - </header> |
28 |
| - <div id="body" data-section="{{ $.Section }}" data-path="{{ $.IsNode }}"> |
29 |
| - <!-- <a href="http://jsbin.com/upgrade" class="pro-feature actionButton actionButton-primary actionButton-small actionButton-rounded">Upgrade to Pro</a> --> |
30 |
| - {{ if eq $.Section "legals" | or $.IsNode }}{{ block "main" . -}}{{- end }} |
31 |
| - {{else}}<article>{{ block "main" . -}}{{- end }}</article>{{end}} |
| 14 | + <script src="/js/html5shiv.min.js"></script> |
| 15 | + {{ "<![endif]-->" | safeHTML }} |
| 16 | + </head> |
| 17 | + |
| 18 | + <body data-url="{{ $.GitInfo }}" id="{{ $.URL | replaceRE `/(.*)/` " $1" | replaceRE `/` "-" }}-page"> |
| 19 | + <div id="container"> |
| 20 | + <header> |
| 21 | + <div class="inner"><a id="back" href="/"><span class="morewords">Back to JS Bin</span></a> |
| 22 | + <nav> |
| 23 | + <input id="search" placeholder="Search..." spellcheck="false" autocapitalize="off" autocorrect="off"> |
| 24 | + <ol id="results" hidden></ol> |
| 25 | + <a {{if eq $.Section "blog" }}class="selected" {{ end }} href="/blog">Blog</a> |
| 26 | + <a {{if eq $.Section "help" }}class="selected" {{ end }} href="/help">Help</a> |
| 27 | + </nav> |
32 | 28 | </div>
|
33 |
| - <div class="clear"></div> |
| 29 | + </header> |
| 30 | + <div id="body" data-section="{{ $.Section }}" data-path="{{ $.IsNode }}"> |
| 31 | + <!-- <a href="http://jsbin.com/upgrade" class="pro-feature actionButton actionButton-primary actionButton-small actionButton-rounded">Upgrade to Pro</a> --> |
| 32 | + {{ if eq $.Section "legals" | or $.IsNode }}{{ block "main" . -}}{{- end }} |
| 33 | + {{else}} |
| 34 | + <article>{{ block "main" . -}}{{- end }}</article>{{end}} |
34 | 35 | </div>
|
35 |
| - <footer id="footer"> |
36 |
| - <div class="inner"> |
37 |
| - <ul class="notable"> |
38 |
| - <li><a href="/help/about">About</a></li> |
39 |
| - <li><a href="https://github.com/jsbin">Github</a></li> |
40 |
| - <li><a href="https://twitter.com/js_bin">Twitter</a></li> |
41 |
| - <li><a href="http://jsbin.com/videos">YouTube</a></li> |
42 |
| - <li><a href="https://opencollective.com/jsbin/donate">Donate ❤️</a></li> |
43 |
| - </ul> |
44 |
| - <ul class="legal"> |
45 |
| - <li><em><a href="/help/what-is-jsbin">Hack. Learn. Fix. Teach.</a></em></li> |
46 |
| - </ul> |
47 |
| - </div> |
48 |
| - </footer> |
| 36 | + <div class="clear"></div> |
| 37 | + </div> |
| 38 | + <footer id="footer"> |
| 39 | + <div class="inner"> |
| 40 | + <ul class="notable"> |
| 41 | + <li><a href="/help/about">About</a></li> |
| 42 | + <li><a href="https://github.com/jsbin">Github</a></li> |
| 43 | + <li><a href="https://twitter.com/js_bin">Twitter</a></li> |
| 44 | + <li><a href="http://jsbin.com/videos">YouTube</a></li> |
| 45 | + <li><a href="https://opencollective.com/jsbin/contribute">Donate ❤️</a></li> |
| 46 | + </ul> |
| 47 | + <ul class="legal"> |
| 48 | + <li><em><a href="/help/what-is-jsbin">Hack. Learn. Fix. Teach.</a></em></li> |
| 49 | + </ul> |
| 50 | + </div> |
| 51 | + </footer> |
49 | 52 | <script type="text">
|
50 | 53 | WebFontConfig = {
|
51 | 54 | google: { families: [ 'Open+Sans:400italic,400,700:latin' ] }
|
|
85 | 88 | {{ template "_internal/google_analytics_async.html" . }}
|
86 | 89 | {{ "<!--" | safeHTML }} hugo {{ $.GitInfo }} ok? {{ "-->" | safeHTML }}
|
87 | 90 | </body>
|
| 91 | + |
88 | 92 | </html>
|
0 commit comments