mirror of
https://github.com/avitex/avitex.github.io
synced 2025-01-15 12:29:57 +00:00
remove search deps for now
This commit is contained in:
parent
b7ca40eb5a
commit
645fe2b023
@ -1,3 +1,8 @@
|
||||
// TODO: remove
|
||||
// <script type="text/javascript" src="{{ get_url(path="elasticlunr.min.js") | safe }}"></script>
|
||||
// <script type="text/javascript" src="{{ get_url(path="search_index.en.js") | safe }}"></script>
|
||||
// <script type="text/javascript" src="{{ get_url(path="search.js") | safe }}"></script>
|
||||
|
||||
function debounce(func, wait) {
|
||||
var timeout;
|
||||
|
||||
@ -139,7 +144,7 @@ function initSearch() {
|
||||
var MAX_ITEMS = 10;
|
||||
|
||||
var options = {
|
||||
bool: "AND",
|
||||
bool: 'AND',
|
||||
fields: {
|
||||
title: { boost: 2 },
|
||||
body: { boost: 1 },
|
||||
|
@ -19,8 +19,5 @@
|
||||
</head>
|
||||
<body>
|
||||
{% block body %}{% endblock body %}
|
||||
<script type="text/javascript" src="{{ get_url(path="elasticlunr.min.js") | safe }}"></script>
|
||||
<script type="text/javascript" src="{{ get_url(path="search_index.en.js") | safe }}"></script>
|
||||
<script type="text/javascript" src="{{ get_url(path="search.js") | safe }}"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user