File indexing completed on 2024-11-24 03:55:53

0001 {% extends "base.html" %}
0002 
0003 
0004 {% block extrahead %}
0005     {{ super() }}
0006 
0007     {% if config.theme.colorscheme %}
0008     <link rel="stylesheet" href="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.18.0/build/styles/{{ config.theme.colorscheme }}.min.css">
0009     {% else %}
0010     <link rel="stylesheet" href="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.18.0/build/styles/github.min.css">
0011     {% endif %}
0012 
0013     <script src='https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.10.2/lottie.js'></script>
0014 
0015 {% endblock %}
0016 
0017 {% block footer %}
0018 <hr>
0019 <!--p><small>{{ config.extra.name }} {{ config.extra.version }}</small></p-->
0020 <p><small>{{ config.copyright }} {{ page.meta.authors }}.</small></p>
0021 
0022 
0023         {%- if page and page.edit_url %}
0024             <a href="{{ page.edit_url }}">
0025                 {%- if config.repo_name == 'GitHub' -%}
0026                 <i class="fab fa-github"></i> Edit this page on {{ config.repo_name }}
0027                 {%- elif config.repo_name == 'Bitbucket' -%}
0028                 <i class="fab fa-bitbucket"></i> Edit this page on {{ config.repo_name }}
0029                 {%- elif config.repo_name == 'GitLab' -%}
0030                 <i class="fab fa-gitlab"></i> Edit this page on {{ config.repo_name }}
0031                 {%- else -%}
0032                 Edit on {{ config.repo_name }}
0033                 {%- endif -%}
0034             </a>
0035         {% endif %}
0036 {% endblock %}
0037 
0038 {% block scripts %}
0039 
0040     {{ super() }}
0041     <script src="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.18.0/build/highlight.min.js"></script>
0042         {% if config.theme.hljs_languages %}
0043             {%- for lang in config.theme.hljs_languages %}
0044                 <script src="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.18.0/build/languages/{{lang}}.min.js"></script>
0045             {%- endfor %}
0046         {% endif %}
0047     <script>
0048         document.addEventListener('DOMContentLoaded', (event) => {
0049             document.querySelectorAll('pre code').forEach((block) => {
0050                 if ( block.classList.length != 0 )
0051                     hljs.highlightBlock(block);
0052             });
0053         });
0054     </script>
0055 
0056 {% endblock %}