-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
26 lines (23 loc) · 958 Bytes
/
index.html
File metadata and controls
26 lines (23 loc) · 958 Bytes
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
---
layout: default
tagline: 'Hosting Dockerfiles for bioinformatics'
is_page: false
---
<input class="search" type="text" id="search-input" placeholder="Search for a Dockerfile...">
<ul id="results-container">
{% assign ordered_dockerfiles = site.dockerfiles | sort: "title" %}
{% for dockerfile in ordered_dockerfiles %}
<li><a href="{{ dockerfile.url }}">{{ dockerfile.title }}</a>: {{ dockerfile.excerpt | strip_html | strip | truncate: 80 }}</li>
{% endfor %}
</ul>
<script src="/assets/js/simple-instant-search.js" type="text/javascript"></script>
<script>
SimpleInstantSearch({
searchInput: document.getElementById('search-input'),
resultsContainer: document.getElementById('results-container'),
json: '/search.json',
searchedKey: 'title',
noResultsText: 'Your search did not match any Dockerfile.',
searchResultTemplate: SISTemplate`<li><a href="${'url'}">${'title'}</a>: ${'description'}</li>`
});
</script>