mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed build error when all feature flags are disabled
This commit is contained in:
parent
9ec0d4d89d
commit
180b4c934d
@ -208,7 +208,7 @@
|
||||
<script>
|
||||
app = initialize({
|
||||
base: "{{ base_url }}",
|
||||
features: {{ config.theme.features | tojson }},
|
||||
features: {{ config.theme.features or [] | tojson }},
|
||||
search: Object.assign({
|
||||
worker: "{{ 'assets/javascripts/worker/search.5eca75d3.min.js' | url }}"
|
||||
}, typeof search !== "undefined" && search)
|
||||
|
@ -385,7 +385,7 @@
|
||||
<script>
|
||||
app = initialize({
|
||||
base: "{{ base_url }}",
|
||||
features: {{ config.theme.features | tojson }},
|
||||
features: {{ config.theme.features or [] | tojson }},
|
||||
search: Object.assign({
|
||||
worker: "{{ 'assets/javascripts/worker/search.js' | url }}"
|
||||
}, typeof search !== "undefined" && search)
|
||||
|
Loading…
Reference in New Issue
Block a user