mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed precedence of search results in title
This commit is contained in:
parent
f300a82014
commit
0f116bab03
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -3,8 +3,8 @@
|
||||
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.bdb82690.min.js.map",
|
||||
"assets/javascripts/vendor.js": "assets/javascripts/vendor.aad0415a.min.js",
|
||||
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.aad0415a.min.js.map",
|
||||
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.784c5235.min.js",
|
||||
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.784c5235.min.js.map",
|
||||
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.2613054f.min.js",
|
||||
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.2613054f.min.js.map",
|
||||
"assets/stylesheets/main.css": "assets/stylesheets/main.acbb280a.min.css",
|
||||
"assets/stylesheets/palette.css": "assets/stylesheets/palette.31180ff2.min.css"
|
||||
}
|
@ -201,7 +201,7 @@
|
||||
url: {
|
||||
base: "{{ base_url }}",
|
||||
worker: {
|
||||
search: "{{ 'assets/javascripts/worker/search.784c5235.min.js' | url }}"
|
||||
search: "{{ 'assets/javascripts/worker/search.2613054f.min.js' | url }}"
|
||||
}
|
||||
},
|
||||
features: {{ config.theme.features | tojson }}
|
||||
|
@ -151,7 +151,7 @@ export class SearchIndex {
|
||||
}
|
||||
|
||||
/* Setup fields and reference */
|
||||
this.field("title", { boost: 10 })
|
||||
this.field("title", { boost: 1000 })
|
||||
this.field("text")
|
||||
this.ref("location")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user