forked from AntennaPod/antennapod.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocumentation.html
48 lines (42 loc) · 1.43 KB
/
documentation.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
layout: internal
title: titles.documentation
permalink: /documentation/
---
<div class="container-fluid background-gray-100 py-4">
<div class="container">
<h1 class="color-gray-800 weight-700">{% t titles.documentation %}</h1>
</div>
</div>
<div class="container-fluid">
<div class="container pt-5">
<p class="color-gray-900 mb-3">Welcome to the documentation section of the AntennaPod. This section aims to provide information on current features.</p>
<input class="card shadow-sm project-card w-100" type="text" id="search-input" placeholder="Search documentation...">
<ul class="pt-3" id="results-container"></ul>
</div>
</div>
<div class="container-fluid">
<div class="container py-3">
<div class="row justify-content-start pb-4">
{% assign items = site.documentation | sort: 'title' | sort: 'order' %}
{% for documentation in items %}
{% if documentation.level == "1" %}
{% include doc-button.html item=documentation %}
{% endif %}
{% endfor %}
</div>
</div>
</div>
<script>
$(document).ready(function() {
var sjs = SimpleJekyllSearch({
searchInput: document.getElementById('search-input'),
resultsContainer: document.getElementById('results-container'),
noResultsText: "Sorry, nothing found :(",
searchResultTemplate: '<li><a href="{url}">{title}</a></li>',
limit: 5,
fuzzy: false,
json: '/search.json'
})
});
</script>