|
@@ -5,7 +5,7 @@
|
|
|
* Core JS functions and initialization.
|
|
|
**************************************************/
|
|
|
|
|
|
-import {hugoEnvironment, codeHighlighting} from '@params';
|
|
|
+import {hugoEnvironment, codeHighlighting, searchEnabled} from '@params';
|
|
|
|
|
|
import {fixMermaid} from './wowchemy-utils';
|
|
|
|
|
@@ -16,8 +16,6 @@ import {
|
|
|
onMediaQueryListEvent,
|
|
|
} from './wowchemy-theming';
|
|
|
|
|
|
-const searchEnabled = typeof search_config !== 'undefined';
|
|
|
-
|
|
|
console.debug(`Environment: ${hugoEnvironment}`);
|
|
|
|
|
|
/* ---------------------------------------------------------------------------
|