James Kuszmaul | e2f1529 | 2021-05-10 22:37:32 -0700 | [diff] [blame^] | 1 | <!DOCTYPE html> |
| 2 | <html lang="{{ site.lang | default: "en-US" }}"> |
| 3 | <head> |
| 4 | <meta charset="UTF-8"> |
| 5 | <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 6 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 7 | |
| 8 | {% seo %} |
| 9 | <link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}"> |
| 10 | </head> |
| 11 | <body> |
| 12 | <div class="sidebar"> |
| 13 | <div class="header"> |
| 14 | <h1><a href="{{ "/" | relative_url }}">{{ site.title | default: "Documentation" }}</a></h1> |
| 15 | </div> |
| 16 | <input type="checkbox" id="nav-toggle" class="nav-toggle"> |
| 17 | <label for="nav-toggle" class="expander"> |
| 18 | <span class="arrow"></span> |
| 19 | </label> |
| 20 | <nav> |
| 21 | {% for item in site.data.navigation.nav %} |
| 22 | <h2>{{ item.section }}</h2> |
| 23 | <ul> |
| 24 | {% for subitem in item.items %} |
| 25 | <a href="{{subitem.url | relative_url }}"> |
| 26 | <li class="{% if subitem.url == page.url %}active{% endif %}"> |
| 27 | {{ subitem.title }} |
| 28 | </li> |
| 29 | </a> |
| 30 | {% endfor %} |
| 31 | </ul> |
| 32 | {% endfor %} |
| 33 | </nav> |
| 34 | </div> |
| 35 | <div class="main markdown-body"> |
| 36 | <div class="main-inner"> |
| 37 | {{ content }} |
| 38 | </div> |
| 39 | </div> |
| 40 | <script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js" integrity="sha256-lZaRhKri35AyJSypXXs4o6OPFTbTmUoltBbDCbdzegg=" crossorigin="anonymous"></script> |
| 41 | <script>anchors.add('.main h2, .main h3, .main h4, .main h5, .main h6');</script> |
| 42 | {% if site.google_analytics %} |
| 43 | <script> |
| 44 | (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
| 45 | (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
| 46 | m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
| 47 | })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); |
| 48 | ga('create', '{{ site.google_analytics }}', 'auto'); |
| 49 | ga('send', 'pageview'); |
| 50 | </script> |
| 51 | {% endif %} |
| 52 | </body> |
| 53 | </html> |