2021-03-13 22:45:21 +05:30
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html>
|
2022-05-29 13:51:07 +05:30
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<link rel="stylesheet" href="{{ get_url(path="main.css") | safe }}">
|
2022-06-03 03:29:34 +05:30
|
|
|
{% if config.extra.favicon -%}
|
|
|
|
{% set _favicon = config.extra.favicon -%}
|
|
|
|
{% if (_favicon is starting_with("http")) == false -%}
|
|
|
|
{% set _favicon = get_url(path=config.extra.favicon) -%}
|
|
|
|
{% endif -%}
|
2022-06-02 08:48:32 +05:30
|
|
|
<link rel="icon" href="{{ _favicon | safe }}">
|
2022-06-03 03:29:34 +05:30
|
|
|
{% endif -%}
|
2022-05-29 13:51:07 +05:30
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
|
|
|
|
<title>{% block title %}{{ config.title }}{% endblock title %}</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
2021-03-13 22:45:21 +05:30
|
|
|
|
2022-06-03 03:29:34 +05:30
|
|
|
{% if config.extra.release -%}
|
2021-03-13 22:45:21 +05:30
|
|
|
<script>
|
2022-05-29 13:51:07 +05:30
|
|
|
fetch('{{ config.extra.release | safe }}')
|
|
|
|
.then((response) => {
|
|
|
|
return response.json();
|
|
|
|
})
|
|
|
|
.then((data) => {
|
|
|
|
let release_name = data.name;
|
|
|
|
let html_url = data.html_url;
|
|
|
|
release.innerHTML = `<a href='${html_url}'>${release_name}</a>`;
|
|
|
|
});
|
2021-03-13 22:45:21 +05:30
|
|
|
</script>
|
2022-06-03 03:29:34 +05:30
|
|
|
{% endif -%}
|
2022-05-29 13:51:07 +05:30
|
|
|
<main>
|
2021-03-13 22:45:21 +05:30
|
|
|
|
2022-06-03 03:29:34 +05:30
|
|
|
{% block nav -%}
|
2021-03-13 22:45:21 +05:30
|
|
|
|
|
|
|
<nav>
|
2022-06-03 03:29:34 +05:30
|
|
|
{% if config.extra.logo -%}
|
|
|
|
{% set _logo = config.extra.logo -%}
|
|
|
|
{% if (_logo is starting_with("http")) == false -%}
|
|
|
|
{% set _logo = get_url(path=config.extra.logo) -%}
|
|
|
|
{% endif -%}
|
|
|
|
{% if current_path == "/" and not config.extra.easydocs_logo_always_clickable -%}
|
2022-06-02 08:48:32 +05:30
|
|
|
<img src="{{ _logo | safe }}" alt=""/>
|
2022-06-03 03:29:34 +05:30
|
|
|
{% else -%}
|
|
|
|
<a href="{{ config.base_url }}">
|
|
|
|
<img src="{{ _logo | safe }}" alt=""/>
|
|
|
|
</a>
|
|
|
|
{% endif -%}
|
2022-05-29 13:51:07 +05:30
|
|
|
|
2022-06-03 03:29:34 +05:30
|
|
|
{% else -%}
|
2022-05-29 13:51:07 +05:30
|
|
|
<h1><a href="{{ config.base_url }}">{{ config.title }}</a></h1>
|
2022-06-03 03:29:34 +05:30
|
|
|
{% endif -%}
|
2021-03-13 22:45:21 +05:30
|
|
|
|
2022-06-03 03:29:34 +05:30
|
|
|
{% if config.extra.release -%}
|
2022-05-29 13:51:07 +05:30
|
|
|
<div id="release"></div>
|
2022-06-03 03:29:34 +05:30
|
|
|
{% endif -%}
|
2022-05-29 13:51:07 +05:30
|
|
|
|
|
|
|
<a href="javascript:void(0);" onclick="burger()" id="mobile" class="ms-Icon--GlobalNavButton"></a>
|
|
|
|
<div id="trees">
|
2022-06-03 03:29:34 +05:30
|
|
|
{% set section_ = get_section(path="_index.md") -%}
|
|
|
|
{% for p in section_.subsections -%}
|
|
|
|
{% set subsection = get_section(path=p) -%}
|
2022-05-29 13:51:07 +05:30
|
|
|
|
|
|
|
|
|
|
|
<input class="tree-toggle" type="checkbox" id="{{ subsection.title | slugify }}"
|
|
|
|
{% if current_path is starting_with(subsection.path) %}checked{% endif %}/>
|
|
|
|
<label class="tree-toggle-label"
|
|
|
|
for="{{ subsection.title | slugify }}">{{ subsection.title }}</label>
|
|
|
|
|
|
|
|
<ul class="subtree">
|
2022-06-03 03:29:34 +05:30
|
|
|
{% for page in subsection.pages -%}
|
2022-05-29 13:51:07 +05:30
|
|
|
<li {% if current_path == page.path %}class="active"{% endif %}>
|
|
|
|
<a href="{{ page.permalink | safe }}">{{ page.title }}</a>
|
|
|
|
</li>
|
|
|
|
|
2022-06-03 03:29:34 +05:30
|
|
|
{% if page.toc -%}
|
2022-05-29 13:51:07 +05:30
|
|
|
|
2022-06-03 03:29:34 +05:30
|
|
|
{% if current_path == page.path -%}
|
2022-05-29 13:51:07 +05:30
|
|
|
|
2022-06-03 03:29:34 +05:30
|
|
|
{% set_global header_count = 0 -%}
|
|
|
|
{% for h2 in page.toc -%}
|
|
|
|
{% set_global header_count = header_count + 1 -%}
|
|
|
|
{% for h3 in h2.children -%}
|
|
|
|
{% set_global header_count = header_count + 1 -%}
|
|
|
|
{% for h4 in h3.children -%}
|
|
|
|
{% set_global header_count = header_count + 1 -%}
|
|
|
|
{% endfor -%}
|
|
|
|
{% endfor -%}
|
|
|
|
{% endfor -%}
|
2022-05-29 13:51:07 +05:30
|
|
|
|
2022-06-03 03:29:34 +05:30
|
|
|
{% if header_count > 4 -%}
|
2022-05-29 13:51:07 +05:30
|
|
|
<ul id="toc">
|
2022-06-03 03:29:34 +05:30
|
|
|
{% for h2 in page.toc -%}
|
2022-05-29 13:51:07 +05:30
|
|
|
<li><a href="{{ h2.permalink | safe }}">{{ h2.title }}</a>
|
2022-06-03 03:29:34 +05:30
|
|
|
{% if h2.children -%}
|
2022-05-29 13:51:07 +05:30
|
|
|
<ul>
|
2022-06-03 03:29:34 +05:30
|
|
|
{% for h3 in h2.children -%}
|
2022-05-29 13:51:07 +05:30
|
|
|
<li>
|
|
|
|
<a href="{{ h3.permalink | safe }}">{{ h3.title }}</a>
|
|
|
|
</li>
|
2022-06-03 03:29:34 +05:30
|
|
|
{% endfor -%}
|
2022-05-29 13:51:07 +05:30
|
|
|
</ul>
|
2022-06-03 03:29:34 +05:30
|
|
|
{% endif -%}
|
2022-05-29 13:51:07 +05:30
|
|
|
</li>
|
2022-06-03 03:29:34 +05:30
|
|
|
{% endfor -%}
|
2022-05-29 13:51:07 +05:30
|
|
|
</ul>
|
2022-06-03 03:29:34 +05:30
|
|
|
{% endif -%}
|
2022-05-29 13:51:07 +05:30
|
|
|
|
2022-06-03 03:29:34 +05:30
|
|
|
{% endif -%}
|
|
|
|
{% endif -%}
|
|
|
|
{% endfor -%}
|
2022-05-29 13:51:07 +05:30
|
|
|
</ul>
|
2022-06-03 03:29:34 +05:30
|
|
|
{% endfor -%}
|
2022-05-29 13:51:07 +05:30
|
|
|
</div>
|
|
|
|
</nav>
|
2022-06-03 03:29:34 +05:30
|
|
|
{% endblock nav -%}
|
2021-03-13 22:45:21 +05:30
|
|
|
|
2022-05-29 13:51:07 +05:30
|
|
|
<article>
|
|
|
|
|
2022-06-03 03:29:34 +05:30
|
|
|
{% if config.build_search_index -%}
|
2022-05-29 13:51:07 +05:30
|
|
|
<div id="on_right">
|
|
|
|
<span id="search-ico" class="ms-Icon--Search"></span>
|
|
|
|
</div>
|
|
|
|
<div class="search-container">
|
|
|
|
<input id="search" type="search" placeholder="Search as you type...">
|
|
|
|
<div class="search-results">
|
|
|
|
<div class="search-results__header"></div>
|
|
|
|
<ul class="search-results__items"></ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-06-03 03:29:34 +05:30
|
|
|
{% endif -%}
|
2022-05-29 13:51:07 +05:30
|
|
|
|
|
|
|
<div id="wrap">
|
2022-06-03 03:29:34 +05:30
|
|
|
{% block content -%}
|
2022-05-29 13:51:07 +05:30
|
|
|
{{ section.content | safe }}
|
|
|
|
{% endblock content %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</article>
|
2021-03-14 17:06:06 +05:30
|
|
|
</main>
|
2021-03-13 22:45:21 +05:30
|
|
|
|
2022-05-29 13:51:07 +05:30
|
|
|
{% if config.build_search_index %}
|
|
|
|
<script type="text/javascript" src="{{ get_url(path="elasticlunr.min.js") | safe }}" defer></script>
|
|
|
|
<script type="text/javascript" src="{{ get_url(path="search_index.en.js") | safe }}" defer></script>
|
|
|
|
<script type="text/javascript" src="{{ get_url(path="js.js") | safe }}" defer></script>
|
2022-06-03 03:29:34 +05:30
|
|
|
{% endif -%}
|
2021-03-13 22:45:21 +05:30
|
|
|
|
|
|
|
</body>
|
2021-07-23 04:30:57 +05:30
|
|
|
</html>
|