|
1 | | -<!DOCTYPE html> |
| 1 | +<!doctype html> |
2 | 2 | <html lang="{{ site.lang | default: 'en-US' }}"> |
3 | 3 | {% include head.html %} |
4 | 4 | <body> |
5 | 5 | <a class="skip-to-main" href="#main-content">Skip to main content</a> |
6 | | - {% include icons/icons.html %} |
7 | | - |
8 | | - {% if page.nav_enabled == true %} |
9 | | - {% include components/sidebar.html %} |
10 | | - {% elsif layout.nav_enabled == true and page.nav_enabled == nil %} |
11 | | - {% include components/sidebar.html %} |
12 | | - {% elsif site.nav_enabled != false and layout.nav_enabled == nil and page.nav_enabled == nil %} |
13 | | - {% include components/sidebar.html %} |
14 | | - {% endif %} |
| 6 | + {% include icons/icons.html %} {% if page.nav_enabled == true %} {% include |
| 7 | + sidebar.html %} {% elsif layout.nav_enabled == true and page.nav_enabled == |
| 8 | + nil %} {% include sidebar.html %} {% elsif site.nav_enabled != false and |
| 9 | + layout.nav_enabled == nil and page.nav_enabled == nil %} {% include |
| 10 | + sidebar.html %} {% endif %} |
15 | 11 |
|
16 | 12 | <div class="main" id="top"> |
17 | 13 | {% include components/header.html %} |
|
20 | 16 | {% include components/breadcrumbs.html %} |
21 | 17 | <div id="main-content" class="main-content"> |
22 | 18 | <main> |
23 | | - {% if site.heading_anchors != false %} |
24 | | - {% include vendor/anchor_headings.html html=content beforeHeading="true" anchorBody="<svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><use xlink:href=\"#svg-link\"></use></svg>" anchorClass="anchor-heading" anchorAttrs="aria-labelledby=\"%html_id%\"" %} |
25 | | - {% else %} |
26 | | - {{ content }} |
27 | | - {% endif %} |
28 | | - |
29 | | - {% if page.has_toc != false %} |
30 | | - {% include components/children_nav.html %} |
31 | | - {% endif %} |
| 19 | + {% if site.heading_anchors != false %} {% capture raw_anchor_svg %} |
| 20 | + {% include components/anchor_icon.html %} {% endcapture %} {% assign |
| 21 | + anchor_svg = raw_anchor_svg | strip_newlines %} {% include |
| 22 | + vendor/anchor_headings.html html=content beforeHeading="true" |
| 23 | + anchorBody=anchor_svg anchorClass="anchor-heading" |
| 24 | + anchorAttrs="aria-labelledby='%html_id%'" %} {% else %} {{ content |
| 25 | + }} {% endif %} {% if page.has_toc != false %} {% include |
| 26 | + components/children_nav.html %} {% endif %} |
32 | 27 | </main> |
33 | 28 | </div> |
34 | 29 | </div> |
35 | 30 |
|
36 | 31 | <footer class="site-footer"> |
37 | | - This site uses <a href="https://github.com/just-the-docs/just-the-docs">Just the Docs</a>, a documentation theme for Jekyll. |
| 32 | + This site uses |
| 33 | + <a href="https://github.com/just-the-docs/just-the-docs" |
| 34 | + >Just the Docs</a |
| 35 | + >, a documentation theme for Jekyll. |
38 | 36 | </footer> |
39 | 37 |
|
40 | | - {% if site.search_enabled != false %} |
41 | | - {% include components/search_footer.html %} |
42 | | - {% endif %} |
| 38 | + {% if site.search_enabled != false %} {% include |
| 39 | + components/search_footer.html %} {% endif %} |
43 | 40 | </div> |
44 | 41 |
|
45 | | - {% if site.mermaid %} |
46 | | - {% include components/mermaid.html %} |
47 | | - {% endif %} |
| 42 | + {% if site.mermaid %} {% include components/mermaid.html %} {% endif %} |
48 | 43 | </body> |
49 | 44 | </html> |
0 commit comments