日常运维


此处是简介

hexo 加速

通过更换公共CDN的js css资源.实现了较大改变

hexo LocalSearch一直转圈问题修复

主要成因有两,一是search.xml没有成功加载,二是search.xml中的数据有问题.

前者通过配置_config.yml文档和对应主题下的_config.yml配置

1
2
3
4
5
search:
path: search.xml
field: post
format: html
limit: 10000
1
2
3
4
5
6
7
local_search:
enable: true
# if auto, trigger search by changing input
# if manual, trigger search by pressing enter key or search button
trigger: auto
# show top n results per article, show all results by setting to -1
top_n_per_article: 1

同时记得关闭Algolia_Search

1
2
3
# Algolia Search
algolia_search:
enable: false

Author: Kuiq Wang
Reprint policy: All articles in this blog are used except for special statements CC BY 4.0 reprint policy. If reproduced, please indicate source Kuiq Wang !
 Previous
kafka学习 kafka学习
[ x ] Consumer Group里只会被某一个Consumer消费 ,Kafka还允许不同Consumer Group同时消费同一条消息,这一特性可以为消息的多元化处理提供支持。
2020-05-11 Kuiq Wang
Next 
准备小结 准备小结
准备小结
2020-05-10 Kuiq Wang
  TOC