add indexnow
This commit is contained in:
16
_config.yml
16
_config.yml
@@ -28,7 +28,8 @@ archive_dir: archives
|
||||
category_dir: categories
|
||||
code_dir: downloads/code
|
||||
i18n_dir: :lang
|
||||
skip_render:
|
||||
skip_render:
|
||||
- "*.txt"
|
||||
|
||||
# Writing
|
||||
new_post_name: :title.md # File name of new posts
|
||||
@@ -107,11 +108,16 @@ theme: butterfly
|
||||
|
||||
# Deployment
|
||||
## Docs: https://hexo.io/docs/one-command-deployment
|
||||
hexo_indexnow:
|
||||
count: 1 # number or "latest"
|
||||
txt_name: indexnow.txt # links file name
|
||||
apikey: C5EC3CAE4FD14AD69AECF56219B47A0A # indexNow Apikey
|
||||
server: bing # The server that received the request
|
||||
# For example: bing, yandex, indexnow
|
||||
log_urls: false # Log url list on output log
|
||||
|
||||
deploy:
|
||||
type: git
|
||||
repo: ssh://root@45.145.229.95:38986/opt/git/blog.git # !!! 修改 IP 和路径 !!!
|
||||
branch: master # 或者 master,取决于你希望推送的分支
|
||||
# message: "Site updated: {{ now('YYYY-MM-DD HH:mm:ss') }}" # 可选的提交信息
|
||||
- type: indexnow_url_submitter
|
||||
|
||||
|
||||
# abbrlink config
|
||||
|
||||
Reference in New Issue
Block a user