| 
1 | 1 | <header>  | 
2 |  | -  <div id="brand">  | 
3 |  | -    <a id=" logo"  href=" {{ relURL "" }}" ><img src=" {{ relURL " images/ [email protected]" }}" width=" 110"  height=" 46"  alt=" Git"  class=" no-filter"  /></a>  | 
4 |  | -    <span id="tagline"></span>  | 
5 |  | -    <script type="text/javascript">  | 
6 |  | -     const taglines = [  | 
7 |  | -       "fast-version-control",  | 
8 |  | -       "everything-is-local",  | 
9 |  | -       "distributed-even-if-your-workflow-isnt",  | 
10 |  | -       "local-branching-on-the-cheap",  | 
11 |  | -       "distributed-is-the-new-centralized"  | 
12 |  | -     ];  | 
13 |  | -     var tagline = taglines[Math.floor(Math.random() * taglines.length)];  | 
14 |  | -     document.getElementById('tagline').innerHTML = '--' + tagline;  | 
15 |  | -    </script>  | 
16 |  | -  </div>  | 
 | 2 | +  <a id=" logo"  href=" {{ relURL "" }}" ><img src=" {{ relURL " images/ [email protected]" }}" width=" 110"  height=" 46"  alt=" Git"  class=" no-filter"  /></a>  | 
 | 3 | +  <span id="tagline"></span>  | 
 | 4 | +  <script type="text/javascript">  | 
 | 5 | +   const taglines = [  | 
 | 6 | +     "fast-version-control",  | 
 | 7 | +     "everything-is-local",  | 
 | 8 | +     "distributed-even-if-your-workflow-isnt",  | 
 | 9 | +     "local-branching-on-the-cheap",  | 
 | 10 | +     "distributed-is-the-new-centralized"  | 
 | 11 | +   ];  | 
 | 12 | +   var tagline = taglines[Math.floor(Math.random() * taglines.length)];  | 
 | 13 | +   document.getElementById('tagline').innerHTML = '--' + tagline;  | 
 | 14 | +  </script>  | 
17 | 15 | 
 
  | 
18 |  | -  <div>  | 
19 |  | -    {{ if ne (.Scratch.Get "section") "search" }}  | 
20 |  | -    <div id="search-container">  | 
21 |  | -      <form id="search" action="{{ relURL "search/results" }}">  | 
22 |  | -        <input id="search-text" name="search" placeholder="Type / to search entire site…" autocomplete="off" type="text" />  | 
23 |  | -      </form>  | 
24 |  | -      <div id="search-results"></div>  | 
25 |  | -    </div>  | 
26 |  | -    {{ end }}  | 
27 |  | -    <img src="{{ relURL "images/dark-mode.svg" }}" id="dark-mode-button" />  | 
 | 16 | +  {{ if ne (.Scratch.Get "section") "search" }}  | 
 | 17 | +  <div id="search-container">  | 
 | 18 | +    <form id="search" action="{{ relURL "search/results" }}">  | 
 | 19 | +      <input id="search-text" name="search" placeholder="Type / to search entire site…" autocomplete="off" type="text" />  | 
 | 20 | +    </form>  | 
 | 21 | +    <div id="search-results"></div>  | 
28 | 22 |   </div>  | 
 | 23 | +  {{ end }}  | 
 | 24 | +  <img src="{{ relURL "images/dark-mode.svg" }}" id="dark-mode-button" />  | 
29 | 25 | </header>  | 
0 commit comments