mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-18 18:33:42 +00:00
Minify algolia logo if not enabled (#514)
This commit is contained in:
parent
c7c13fdd6c
commit
250a5c851d
@ -112,6 +112,7 @@ hexo.extend.filter.register('after_generate', () => {
|
|||||||
// Search
|
// Search
|
||||||
if (!theme.algolia_search.enable) {
|
if (!theme.algolia_search.enable) {
|
||||||
hexo.route.remove('js/third-party/search/algolia-search.js');
|
hexo.route.remove('js/third-party/search/algolia-search.js');
|
||||||
|
hexo.route.remove('images/logo-algolia-nebula-blue-full.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!theme.local_search.enable) {
|
if (!theme.local_search.enable) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user