-
-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v1.6 版本更新注意事项 #178
Comments
另外,由于vuepress从架构上可能更符合我对静态博客的预期,所以之后可能会在 |
melody真的非常棒,期待移植到vuepress上,我就也换到vuepress上了,还有我配置_config.yml文件后很多配置项在线上都没有生效,不知道是我配的有问题不,方便提供一份你的或者别人的_config.yml让我参考下吗?感激不尽! |
@superman285 请问你有没有按照主题的文档说明,迁移一份 |
@superman285 看不懂英文文档,至少中文文档要看得懂吧: |
在 2019年2月22日,11:13,PiEgg ***@***.***> 写道:
@superman285 <https://github.com/superman285> 看不懂英文文档,至少中文文档要看得懂吧:
<https://user-images.githubusercontent.com/12621342/53217392-c0d7bd00-3692-11e9-89af-dbaf99f3ea97.png>
<https://user-images.githubusercontent.com/12621342/53217408-d0570600-3692-11e9-95ce-90b443f53a0e.png>
请注意是主题目录下的_config.yml不是hexo站点目录下的。
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#178 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AkSJWuxBaIUAAclCR05Q0JJx2ucdgHShks5vP2BSgaJpZM4a-4sp>.
生效了谢谢。 真不是看不懂英文亲爱的,是你写的是推荐方式 我真不知道是这里出了问题
|
你好,换KaTeX引擎一直不成功,希望有更详细教程 |
@chenweigao 看VuePress的文档。 hexo-theme-melody的文档的代码配色是自己改写的。 主要用到这两个文件: https://github.com/Molunerfinn/hexo-theme-melody-doc/blob/master/docs/.vuepress/style.styl |
@Molunerfinn 好的,谢谢~! |
您好,很喜欢您的主题,感谢您的分享。我在使用过程中发现我的代码色没有生效,今天在本地部署测试的时候也是没有颜色。 |
好的,谢谢您 |
$ git checkout tags/v.1.6.1 error: pathspec 'tags/v.1.6.1' did not match any file(s) known to git |
初始化很成功。。都是配置着配置着都错了。。 |
这里是文档里我写错了。 |
还有 hexo工程下一个配置文件,theme-meldy下面一个配置文件,你建议source下面建一个melody.yml |
source下面建一个melody.yml 的配置不能生效。不知道为什么 |
注意看文档,是 |
我知道是source/_data/melody.yml 啊 也是这么做的。。 |
Cannot read property 'path' of undefined TypeError: D:\blog\blog\themes\melody\layout\includes\config.pug:1 > 1| - 2| var algolia = 'undefined'; 3| var env = process.env; 4| if (theme.algolia_search.enable) { Cannot read property 'path' of undefined at eval (eval at wrap (D:\blog\blog\node_modules\pug-runtime\wrap.js:6:10), :347:25) at template (eval at wrap (D:\blog\blog\node_modules\pug-runtime\wrap.js:6:10), :2864:72) at viewFn._compiled (D:\blog\blog\node_modules\hexo\lib\theme\view.js:136:48) at viewFn.View.render (D:\blog\blog\node_modules\hexo\lib\theme\view.js:41:15) at D:\blog\blog\node_modules\hexo\lib\hexo\index.js:61:21 at tryCatcher (D:\blog\blog\node_modules\bluebird\js\release\util.js:16:23) at D:\blog\blog\node_modules\bluebird\js\release\method.js:15:34 at RouteStream._read (D:\blog\blog\node_modules\hexo\lib\hexo\router.js:126:3) at RouteStream.Readable.read (stream_readable.js:490:10) at resume (_stream_readable.js:975:12) at processTicksAndRejections (internal/process/task_queues.js:80:21) ERROR D:\blog\blog\themes\melody\layout\includes\config.pug:1 > 1| - 2| var algolia = 'undefined'; 3| var env = process.env; 4| if (theme.algolia_search.enable) { |
melody.yml请复制主题的_config.yml的内容而不是hexo目录下的_config.yml的内容。这个问题已经在issue里说了不知道多少次了...好好看文档找issue,不是上来就问好不好? |
你好,我遇到一个错误,在本地更新文章的时候使用hexo s 预览首页文章部分是空白的,用chromeF12 页面审查元素发现东西都在,另一个页面归档是有内容的,hexo d 发布到服务器上是正常的,麻烦帮忙看下,谢谢!!https://sunyuxianggit.github.io |
这个怎么解决呀
|
新版文档已经上线!欢迎访问。
如果发现访问依然是旧版,请
ctrl+f5
多刷新几次!一直以来
hexo-theme-melody
的用户对于平滑升级
已经很熟悉,不过本次1.6
版本更新带来了一些breaking changes
,所以需要大家手动做一些调整,十分抱歉!其中最显著的就是图标icon的改动。如果你发现升级了版本之后博客的icon显示不全,比如:
这是
hexo-theme-melody
为了兼容font-awesome v5
而做出的改动。事实上如果你依然在使用
font-awesome v4
版本(hexo-theme-melody
默认版本),那么你只需要在你的主题配置文件(通常是melody.yml
)里修改social
字段:比如原本
social
字段如下:现在你需要在每个字段名后面加上
fa
来修复图标显示不全的问题:如果你想使用
font-awesome v5
的图标,那么请访问官网挑选你需要的图标。并在
hexo-theme-melody
的配置文件里加入font awesome v5
的链接,加到原本默认的v4版本链接下面:比如
alipay
:注意到
font-awesome v5
图标的class命名方式跟v4
有所不同,例如上图是fab fa-alipay
。对应到hexo-theme-melody
的配置文件里,你只需要写alipay fab
即可,注意要把prefix也就是fab
写到alipay
后面。也就是social-icon的命名方式变成name prefix
:因为破坏性更新给大家带来了不便,十分抱歉!
同时
hexo-theme-melody
v1.6版本解决了许多bug,加入了许多功能,之后会更新版本说明,也希望大家能够喜欢~The text was updated successfully, but these errors were encountered: