|
| 1 | +--- |
| 2 | +layout: table_wrappers |
| 3 | +--- |
| 4 | + |
| 5 | +<!DOCTYPE html> |
| 6 | + |
| 7 | +<html lang="{{ site.lang | default: 'en-US' }}"> |
| 8 | +{% include head.html %} |
| 9 | +<body> |
| 10 | + <svg xmlns="http://www.w3.org/2000/svg" style="display: none;"> |
| 11 | + <symbol id="svg-link" viewBox="0 0 24 24"> |
| 12 | + <title>Link</title> |
| 13 | + <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-link"> |
| 14 | + <path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path> |
| 15 | + </svg> |
| 16 | + </symbol> |
| 17 | + </svg> |
| 18 | + |
| 19 | + {% capture nav %} |
| 20 | + {% if site.just_the_docs.collections %} |
| 21 | + {% assign collections_size = site.just_the_docs.collections | size %} |
| 22 | + {% for collection_entry in site.just_the_docs.collections %} |
| 23 | + {% assign collection_key = collection_entry[0] %} |
| 24 | + {% assign collection_value = collection_entry[1] %} |
| 25 | + {% assign collection = site[collection_key] %} |
| 26 | + {% if collection_value.nav_exclude != true %} |
| 27 | + {% include nav.html pages=collection %} |
| 28 | + {% endif %} |
| 29 | + {% endfor %} |
| 30 | + {% else %} |
| 31 | + {% include nav.html pages=site.html_pages %} |
| 32 | + {% endif %} |
| 33 | + {% endcapture %} |
| 34 | + |
| 35 | + <div id="main-content-wrap" class="main-content-wrap"> |
| 36 | + {% unless page.url == "/" %} |
| 37 | + {% if page.parent %} |
| 38 | + {%- for node in pages_list -%} |
| 39 | + {%- if node.parent == nil -%} |
| 40 | + {%- if page.parent == node.title or page.grand_parent == node.title -%} |
| 41 | + {%- assign first_level_url = node.url | absolute_url -%} |
| 42 | + {%- endif -%} |
| 43 | + {%- if node.has_children -%} |
| 44 | + {%- assign children_list = pages_list | where: "parent", node.title -%} |
| 45 | + {%- for child in children_list -%} |
| 46 | + {%- if page.url == child.url or page.parent == child.title -%} |
| 47 | + {%- assign second_level_url = child.url | absolute_url -%} |
| 48 | + {%- endif -%} |
| 49 | + {%- endfor -%} |
| 50 | + {%- endif -%} |
| 51 | + {%- endif -%} |
| 52 | + {%- endfor -%} |
| 53 | + <nav aria-label="Breadcrumb" class="breadcrumb-nav"> |
| 54 | + <ol class="breadcrumb-nav-list"> |
| 55 | + {% if page.grand_parent %} |
| 56 | + <li class="breadcrumb-nav-list-item"><a href="{{ first_level_url }}">{{ page.grand_parent }}</a></li> |
| 57 | + <li class="breadcrumb-nav-list-item"><a href="{{ second_level_url }}">{{ page.parent }}</a></li> |
| 58 | + {% else %} |
| 59 | + <li class="breadcrumb-nav-list-item"><a href="{{ first_level_url }}">{{ page.parent }}</a></li> |
| 60 | + {% endif %} |
| 61 | + <li class="breadcrumb-nav-list-item"><span>{{ page.title }}</span></li> |
| 62 | + </ol> |
| 63 | + </nav> |
| 64 | + {% endif %} |
| 65 | + {% endunless %} |
| 66 | + <div id="main-content" class="main-content" role="main"> |
| 67 | + {% if site.heading_anchors != false %} |
| 68 | + {% 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" %} |
| 69 | + {% else %} |
| 70 | + {{ content }} |
| 71 | + {% endif %} |
| 72 | + |
| 73 | + {% if page.has_children == true and page.has_toc != false %} |
| 74 | + <hr> |
| 75 | + <h2 class="text-delta">Table of contents</h2> |
| 76 | + <ul> |
| 77 | + {%- assign children_list = pages_list | where: "parent", page.title | where: "grand_parent", page.parent -%} |
| 78 | + {% for child in children_list %} |
| 79 | + <li> |
| 80 | + <a href="{{ child.url | absolute_url }}">{{ child.title }}</a>{% if child.summary %} - {{ child.summary }}{% endif %} |
| 81 | + </li> |
| 82 | + {% endfor %} |
| 83 | + </ul> |
| 84 | + {% endif %} |
| 85 | + |
| 86 | + {% capture footer_custom %} |
| 87 | + {%- include footer_custom.html -%} |
| 88 | + {% endcapture %} |
| 89 | + {% if footer_custom != "" or site.last_edit_timestamp or site.gh_edit_link %} |
| 90 | + <hr> |
| 91 | + <footer> |
| 92 | + {% if site.back_to_top %} |
| 93 | + <p><a href="#top" id="back-to-top">{{ site.back_to_top_text }}</a></p> |
| 94 | + {% endif %} |
| 95 | + |
| 96 | + {{ footer_custom }} |
| 97 | + |
| 98 | + {% if site.last_edit_timestamp or site.gh_edit_link %} |
| 99 | + <div class="d-flex mt-2"> |
| 100 | + {% if site.last_edit_timestamp and site.last_edit_time_format and page.last_modified_date %} |
| 101 | + <p class="text-small text-grey-dk-000 mb-0 mr-2"> |
| 102 | + Page last modified: <span class="d-inline-block">{{ page.last_modified_date | date: site.last_edit_time_format }}</span>. |
| 103 | + </p> |
| 104 | + {% endif %} |
| 105 | + {% if |
| 106 | + site.gh_edit_link and |
| 107 | + site.gh_edit_link_text and |
| 108 | + site.gh_edit_repository and |
| 109 | + site.gh_edit_branch and |
| 110 | + site.gh_edit_view_mode |
| 111 | + %} |
| 112 | + <p class="text-small text-grey-dk-000 mb-0"> |
| 113 | + <a href="{{ site.gh_edit_repository }}/{{ site.gh_edit_view_mode }}/{{ site.gh_edit_branch }}{% if site.gh_edit_source %}/{{ site.gh_edit_source }}{% endif %}/{{ page.path }}" id="edit-this-page">{{ site.gh_edit_link_text }}</a> |
| 114 | + </p> |
| 115 | + {% endif %} |
| 116 | + </div> |
| 117 | + {% endif %} |
| 118 | + </footer> |
| 119 | + {% endif %} |
| 120 | + |
| 121 | + </div> |
| 122 | + </div> |
| 123 | +</body> |
| 124 | +</html> |
0 commit comments