-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch.html
29 lines (24 loc) · 966 Bytes
/
search.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
---
layout: default
title: Search
permalink: /search
ext-js:
- "https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/index.min.js"
js:
- "assets/js/search.js"
---
{% include search-bar.html mb = "2em" %}
<ul id="search-results" class="related-list"></ul>
<div id="no-result">{{ site.data.texts.no-result }}</div>
<script>
window.store = [{% for project in site.data.me.projects %}{
"id": "{{ project.title }}",
"url": "{{ project.title | datapage_url: 'project' | absolute_url }}",
"title": "{{ project.title | strip_html | remove: '"' }}",
"subtitle": "{{ project.subtitle | strip_html | remove: '"' }}",
"description": "{{ project.description | strip_html | remove: '"'| strip_newlines }}",
"skills": "{{ project.skills | join: " ; " | strip_html | remove: '"'}}",
"coverimg": "{{ project.cover-img | absolute_url }}"
}
{% unless forloop.last %},{% endunless %}{% endfor %}];
</script>