mirror of
https://github.com/avitex/avitex.github.io
synced 2025-01-15 20:39: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) {
|
function debounce(func, wait) {
|
||||||
var timeout;
|
var timeout;
|
||||||
|
|
||||||
@ -139,7 +144,7 @@ function initSearch() {
|
|||||||
var MAX_ITEMS = 10;
|
var MAX_ITEMS = 10;
|
||||||
|
|
||||||
var options = {
|
var options = {
|
||||||
bool: "AND",
|
bool: 'AND',
|
||||||
fields: {
|
fields: {
|
||||||
title: { boost: 2 },
|
title: { boost: 2 },
|
||||||
body: { boost: 1 },
|
body: { boost: 1 },
|
||||||
|
@ -19,8 +19,5 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{% block body %}{% endblock 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>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user