fix(config): assign empty string to string-typed variables

This commit is contained in:
curbengh 2019-10-28 10:24:00 +00:00
parent 80b8ec43dd
commit c745b35f33
No known key found for this signature in database
GPG Key ID: 21EA847C35D6E034

View File

@ -4,12 +4,12 @@
# Site # Site
title: Hexo title: Hexo
subtitle: subtitle: ''
description: description: ''
keywords: keywords:
author: John Doe author: John Doe
language: en language: en
timezone: timezone: ''
# URL # URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/' ## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
@ -37,7 +37,7 @@ titlecase: false # Transform title into titlecase
external_link: external_link:
enable: true # Open external links in new tab enable: true # Open external links in new tab
field: site # Apply to the whole site field: site # Apply to the whole site
exclude: exclude: ''
filename_case: 0 filename_case: 0
render_drafts: false render_drafts: false
post_asset_folder: false post_asset_folder: false
@ -47,7 +47,7 @@ highlight:
enable: true enable: true
line_number: true line_number: true
auto_detect: false auto_detect: false
tab_replace: tab_replace: ''
# Home page setting # Home page setting
# path: Root path for your blogs index page. (default = '') # path: Root path for your blogs index page. (default = '')
@ -95,4 +95,4 @@ theme: landscape
# Deployment # Deployment
## Docs: https://hexo.io/docs/deployment.html ## Docs: https://hexo.io/docs/deployment.html
deploy: deploy:
type: type: ''