Hexo
Debug#
Template render error: (unknown path) Error: expected end of comment, got end of file.
Is caused by the {
#
characters, written together.
Hexo 经验:#
- Spawn failed:没有配置 GitHub 用户信息
- JSON Front-matter
除了 YAML 外,你也可以使用 JSON 来编写 Front-matter,只要将 --- 代换成 ;;; 即可。
"title": "Hello World", "date": "2013/7/13 20:46:25" ;;;
-
链接地址在文件夹目录中或浏览器地址栏中复制。EG:
[link](/2020/0621-MD-test/ 'tooltip')
以下的是服务器端用的,不能在 MD 中用
hexo.locals.get('posts') <%- url_for(path, [option]) %>
插件#
安装的时候可以不变更-config.yml
当前插件不支持多级主题。
过程记录#
- 换了 MD 的语法,用了新插件
hexo-renderer-markdown
多了很多 anchorSymbol,本来想卸载,后来发现不用卸载,可以直接在_config.yml 中设置。 设置之后发现 hexo generate 不能 render 了。 只能去掉。这个插件也太坑了。前后花了四个多小时。啥都没做。 最后装了一个hexo-footnotes
就解决了。 后来发现上面这个插件也是好用的。。
Why did I used This Theme#
- Tree : perfect layout but can't full search
- Yun : More reactive UI but layout is not good. too many add-on's to configure
- Wixo : more balanced. No more update. But it has what I need most. BUGs in post: This Website
Open Problem#
- [ ] multiple category hierarchies support (of extension
hexo-renderer-markdown
/theme wixo)- Reading material: https://sunhwee.com/posts/65d7181d.html