Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Site
Clone

Read only, no credentials:

https://rodent.software/vole.git

Write over SSH with a registered key:

git clone ssh://git@rodent.software/vole.git

Self-hosted forge that lives in your Git repo.

Blame · docs-theme/base.html

Line attribution on main · 115 line(s)

1f8afe73
Keenan Nemetz
21d ago
1 <!doctype html>
2 <html lang="{{ config.theme.locale|default('en') }}" data-theme="everforest-dark-medium">
3 <head>
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1">
6 <meta name="color-scheme" content="dark">
7 {% if page and page.meta and page.meta.description %}
8 <meta name="description" content="{{ page.meta.description }}">
9 {% elif config.site_description %}
10 <meta name="description" content="{{ config.site_description }}">
11 {% endif %}
12 {% if page and page.canonical_url %}<link rel="canonical" href="{{ page.canonical_url }}">{% endif %}
13
14 <title>{% if page and page.title and not page.is_homepage %}{{ page.title }} · {% endif %}{{ config.site_name }}</title>
15
16 <link rel="icon" type="image/png" sizes="32x32" href="{{ 'assets/favicon-32.png'|url }}" media="(prefers-color-scheme: light)">
17 <link rel="icon" type="image/png" sizes="32x32" href="{{ 'assets/favicon-32-dark.png'|url }}" media="(prefers-color-scheme: dark)">
18 <link rel="icon" type="image/svg+xml" href="{{ 'assets/favicon.svg'|url }}" sizes="any">
19 <link rel="stylesheet" href="{{ 'assets/pygments.css'|url }}">
20 <link rel="stylesheet" href="{{ 'assets/docs.css'|url }}">
21 {% for path in config.extra_css %}<link rel="stylesheet" href="{{ path|url }}">{% endfor %}
22 {% block extrahead %}{% endblock %}
23 </head>
24 <body>
25 <a class="skip-link" href="#content">Skip to content</a>
26
27 <header class="topbar">
28 <button type="button" class="nav-toggle" data-nav-toggle aria-label="Open documentation navigation" aria-expanded="false" aria-controls="sidebar">
29 <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" aria-hidden="true"><path d="M4 7h16M4 12h16M4 17h16"/></svg>
30 </button>
31
32 <a class="brand" href="{{ nav.homepage.url|url }}" aria-label="{{ config.site_name }} documentation home">
33 <span class="mark" aria-hidden="true"></span>
34 <span class="brand-name">{{ config.site_name }}</span>
35 <span class="brand-note">docs</span>
36 </a>
37
38 <div class="topsearch" role="search">
39 <button type="button" class="topsearch-box" data-search-open aria-haspopup="dialog" aria-controls="search-palette" aria-keyshortcuts="Control+K Meta+K">
40 <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="m20 20-3.5-3.5"/></svg>
41 <span class="topsearch-label">Search documentation</span>
42 <kbd class="topsearch-key" aria-hidden="true">/</kbd>
43 </button>
44 </div>
59edfa98
Keenan Nemetz
20d ago
45
46 {% if config.repo_url %}
47 <a class="topbar-link" href="{{ config.repo_url }}" title="{{ config.repo_name }}" rel="noopener">
48 <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m16 18 6-6-6-6M8 6l-6 6 6 6"/></svg>
49 <span>Source</span>
50 </a>
51 {% endif %}
1f8afe73
Keenan Nemetz
21d ago
52 </header>
53
54 <div class="layout">
55 <aside class="sidebar" id="sidebar" aria-label="Documentation">
56 {% include "nav.html" %}
57 </aside>
58
59 <div class="nav-scrim" data-nav-close aria-hidden="true"></div>
60
61 <main class="content" id="content">
62 {% block content %}{{ page.content }}{% endblock %}
63
64 {% if page and (page.previous_page or page.next_page) %}
65 <nav class="pager" aria-label="Previous and next pages">
66 {% if page.previous_page %}
67 <a class="pager-link pager-prev" href="{{ page.previous_page.url|url }}" rel="prev">
68 <span class="pager-where">Previous</span>
69 <span class="pager-title"><span aria-hidden="true">←</span> {{ page.previous_page.title }}</span>
70 </a>
71 {% else %}<span></span>{% endif %}
72 {% if page.next_page %}
73 <a class="pager-link pager-next" href="{{ page.next_page.url|url }}" rel="next">
74 <span class="pager-where">Next</span>
75 <span class="pager-title">{{ page.next_page.title }} <span aria-hidden="true">→</span></span>
76 </a>
77 {% endif %}
78 </nav>
79 {% endif %}
80 </main>
81
82 <aside class="toc" aria-label="On this page">
83 {% include "toc.html" %}
84 </aside>
85 </div>
86
d1f44d83
Keenan Nemetz
21h ago
87 <footer class="site-footer">
88 <p>Vole is free and open-source software under the Apache License 2.0.</p>
89 <p class="muted">Built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
90 </footer>
91
1f8afe73
Keenan Nemetz
21d ago
92 <dialog class="palette" id="search-palette" aria-label="Search documentation">
93 <form class="palette-search" role="search" data-search-form>
94 <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="m20 20-3.5-3.5"/></svg>
95 <input type="search" id="search-query" placeholder="Search documentation" aria-label="Search documentation" autocomplete="off" spellcheck="false" role="combobox" aria-expanded="true" aria-controls="search-results" aria-autocomplete="list">
96 <button type="button" class="palette-close" data-search-close aria-label="Close search">
97 <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" aria-hidden="true"><path d="M6 6l12 12M18 6 6 18"/></svg>
98 </button>
99 </form>
100 <div class="palette-results" id="search-results" role="listbox" aria-live="polite"></div>
101 <div class="palette-foot">
102 <span><kbd>↑</kbd><kbd>↓</kbd> to move</span>
103 <span><kbd>Enter</kbd> to open</span>
104 <span><kbd>Esc</kbd> to close</span>
105 </div>
106 </dialog>
107
108 <script>window.DOCS_BASE_URL = {{ base_url|tojson }};</script>
d1f44d83
Keenan Nemetz
21h ago
109 {% if page and page.meta and page.meta.mermaid %}
110 <script src="{{ 'assets/mermaid.min.js'|url }}" defer></script>
111 {% endif %}
1f8afe73
Keenan Nemetz
21d ago
112 <script src="{{ 'assets/docs.js'|url }}" defer></script>
113 {% block scripts %}{% endblock %}
114 </body>
115 </html>