【发布时间】:2017-07-06 03:38:25
【问题描述】:
尝试更改默认主题。首先尝试了黑客主题,然后是入门主题。两次都出现同样的错误:
jekyll 3.5.0 | Error: Could not locate the included file 'head.html' in any of ["/home/david/Sites/dwmclaughlin.com/_includes"]. Ensure it exists in one of those directories and, if it is a symlink, does not point outside your site source.
我创建了 head.html,然后运行了 jekyll serve。得到了同样的错误,但这次是 header.html 丢失了。我继续前进并创建了丢失的文件。转到 CSS 文件并收到此错误:
jekyll 3.5.0 | Error: Invalid US-ASCII character "\xE2" on line 5
我做错了什么?
【问题讨论】:
-
你是如何安装主题和运行 Jekyll 的?
-
遵循这些说明:jekyllrb.com/docs/themes
-
bundle install然后bundle exec jekyll s。 -
不幸的是同样的错误。
-
详细说明您更改默认主题的步骤。
标签: jekyll