hexo tags打开错误
输入错命令导致把hexo重置了
重新设置了一下其他正常,就是点开tags标签提示
TypeError: The header content contains invalid characters
at ServerResponse.OutgoingMessage.setHeader (_http_outgoing.js:358:11)
at E:\GitHub\hexo\node_modules\hexo-server\lib\middlewares\route.js:27:11
at call (E:\GitHub\hexo\node_modules\hexo-server\node_modules\connect\index.js:239:7)
at next (E:\GitHub\hexo\node_modules\hexo-server\node_modules\connect\index.js:183:5)
at compression (E:\GitHub\hexo\node_modules\hexo-server\node_modules\compression\index.js:218:5)
at call (E:\GitHub\hexo\node_modules\hexo-server\node_modules\connect\index.js:239:7)
at next (E:\GitHub\hexo\node_modules\hexo-server\node_modules\connect\index.js:183:5)
at E:\GitHub\hexo\node_modules\hexo-server\lib\middlewares\header.js:6:5
at call (E:\GitHub\hexo\node_modules\hexo-server\node_modules\connect\index.js:239:7)
at next (E:\GitHub\hexo\node_modules\hexo-server\node_modules\connect\index.js:183:5)
at Function.handle (E:\GitHub\hexo\node_modules\hexo-server\node_modules\connect\index.js:186:3)
at Server.app (E:\GitHub\hexo\node_modules\hexo-server\node_modules\connect\index.js:51:37)
at emitTwo (events.js:106:13)
at Server.emit (events.js:191:7)
at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:546:12)
at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23)
主题和根目录配置文件开启了tags,而且publictags下有标签文件夹。
好奇怪的问题= =
贴上根目录配置文件
# Hexo Configuration
## Docs: http://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/
# Site
title: Wellcome
subtitle:
description:
author: fff
language:
timezone:
# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: http://yoursite.com
root: /
permalink: :year/:month/:day/:title/
permalink_defaults:
# Directory
source_dir: source
public_dir: public
tag_dir: tags
archive_dir: archives
category_dir: categories
code_dir: downloads/code
i18n_dir: :lang
skip_render:
# Writing
new_post_name: :title.md # File name of new posts
default_layout: post
titlecase: false # Transform title into titlecase
external_link: true # Open external links in new tab
filename_case: 0
render_drafts: false
post_asset_folder: false
relative_link: false
future: true
highlight:
enable: true
line_number: true
auto_detect: true
tab_replace: true
# Category & Tag
default_category: uncategorized
category_map:
tag_map:
# Date / Time format
## Hexo uses Moment.js to parse and display date
## You can customize the date format as defined in
## http://momentjs.com/docs/#/displaying/format/
date_format: YYYY-MM-DD
time_format: HH:mm:ss
# Pagination
## Set per_page to 0 to disable pagination
per_page: 10
pagination_dir: page
# Extensions
## Plugins: http://hexo.io/plugins/
## Themes: http://hexo.io/themes/
theme: yilia
# Deployment
## Docs: http://hexo.io/docs/deployment.html
deploy:
type:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
把hexo d当成了hexo g的作用。。