Add search to docs

Closes: #295
This commit is contained in:
Eike Kettner
2020-09-30 00:17:18 +02:00
parent f40eb15e86
commit 9f1d8cee8f
16 changed files with 422 additions and 123 deletions

View File

@ -4,6 +4,7 @@
{% include "meta.html" %}
<title>{{ section.title }} Docspell Documentation</title>
<link rel="stylesheet" href="/styles.css">
{% include "search-head.html" %}
</head>
<body>
<section class="hero is-info is-small">
@ -11,12 +12,19 @@
{% include "navbar.html" %}
</div>
<div class="hero-body">
<h1 class="title">
Docspell Documentation
</h1>
<h2 class="subtitle">
{{ section.title }}
</h2>
<div class="columns is-vcentered">
<div class="column is-8">
<h1 class="title">
Docspell Documentation
</h1>
<h2 class="subtitle">
{{ section.title }}
</h2>
</div>
<div class="column">
<div id="search"></div>
</div>
</div>
</div>
</section>
<nav class="breadcrumb has-succeeds-separator" aria-label="breadcrumbs">
@ -62,19 +70,6 @@
{% include "footer.html" %}
</body>
<!-- Fathom - simple website analytics - https://github.com/usefathom/fathom -->
<script>
(function(f, a, t, h, o, m){
a[h]=a[h]||function(){
(a[h].q=a[h].q||[]).push(arguments)
};
o=f.createElement('script'),
m=f.getElementsByTagName('script')[0];
o.async=1; o.src=t; o.id='fathom-script';
m.parentNode.insertBefore(o,m)
})(document, window, '//webstats.daheim.site/tracker.js', 'fathom');
fathom('set', 'siteId', 'OGJDF');
fathom('trackPageview');
</script>
<!-- / Fathom -->
{% include "search-part.html" %}
{% include "fathom.html" %}
</html>