Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
zhuzhuxia
@zhuzhuyule
if you find
$highlight-gutter = {
    color: #869194,
    bg-color: #eff2f3
  }
then check: .\themes\next\source\css\_common\components\highlight\highlight.styl
import style:
@require "theme"
@require "diff"
maskleo
@maskleo

These are exist.
Very strange,I just exc hexo clean and hexo g again,Successfully generated static file.
But exc hexo s,Visit localhost:4000

Unhandled rejection Error: ENOENT: no such file or directory, open 'D:\blog\masque-fate.github.io\themes\next\layout\_scripts\schemes\.swig'
    at Object.fs.openSync (fs.js:653:18)
    at Object.fs.readFileSync (fs.js:554:33)
    at Object.ret.load (D:\blog\masque-fate.github.io\node_modules\swig\lib\loaders\filesystem.js:55:15)
    at exports.Swig.compileFile (D:\blog\masque-fate.github.io\node_modules\swig\lib\swig.js:695:31)
    at Object.eval [as tpl] (eval at precompile (D:\blog\masque-fate.github.io\node_modules\swig\lib\swig.js:498:13), <anonymous>:912:18)
    at compiled (D:\blog\masque-fate.github.io\node_modules\swig\lib\swig.js:619:18)
    at Theme._View.View._compiled (D:\blog\masque-fate.github.io\node_modules\hexo\lib\theme\view.js:127:30)
    at Theme._View.View.View.render (D:\blog\masque-fate.github.io\node_modules\hexo\lib\theme\view.js:29:15)
    at D:\blog\masque-fate.github.io\node_modules\hexo\lib\hexo\index.js:390:25
    at tryCatcher (D:\blog\masque-fate.github.io\node_modules\bluebird\js\release\util.js:16:23)
    at D:\blog\masque-fate.github.io\node_modules\bluebird\js\release\method.js:15:34
    at RouteStream._read (D:\blog\masque-fate.github.io\node_modules\hexo\lib\hexo\router.js:134:3)
    at RouteStream.Readable.read (_stream_readable.js:443:10)
    at resume_ (_stream_readable.js:823:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

Too late to rest, if anyone knows how to solve please reply me.Tomorrow morning I will check the reply.thanks!

zhuzhuxia
@zhuzhuyule
@maskleo no such file or directory, open 'D:\blog\masque-fate.github.io\themes\next\layout\_scripts\schemes\.swig'
check .swig
maskleo
@maskleo
I just check out the project,don't modify any code,I think maybe some configuration has error,or version need latest version.
maskleo
@maskleo
I am trying again on a different computer.
maskleo
@maskleo
I have run successfully on another computer, everything is fine. I think I need to double-check and compare the related configuration.Thank you for your reply. @zhuzhuyule
zhuzhuxia
@zhuzhuyule
you are welcome
Yingjie (Iris) Hu
@huyingjie
I have a question. I edited the theme v5.1.3 in my local machine. How can I update the theme to v5.1.4? Is there a place to put customed template files I created to not edit original files of the theme?
zhuzhuxia
@zhuzhuyule
@huyingjie 你改了啥文件都?
Yingjie (Iris) Hu
@huyingjie
@zhuzhuyule _macro下的post.swig
@zhuzhuyule 为什么要出6.0版本. 原作者弃坑了?
zhuzhuxia
@zhuzhuyule
原作者早都停更了,一直是以为俄罗斯友人维护的
post.swig 直接覆盖
就可以了,没影响
Yingjie (Iris) Hu
@huyingjie
@zhuzhuyule 像hugo或者wordpress都可以另外写template, 会override原始的template, 这样就不用修改原始文件了。 hexo有这个功能吗?
zhuzhuxia
@zhuzhuyule
可以添加这个功能
Yingjie (Iris) Hu
@huyingjie
想想也是。 这个theme从2014年就开始了。 干一个项目干4年,而且看不到尽头, 兴趣也磨尽了,是要弃坑的。
data可以另外写文件覆盖
zhuzhuxia
@zhuzhuyule
data?
Yingjie (Iris) Hu
@huyingjie
我习惯直接读英文版的...
zhuzhuxia
@zhuzhuyule
喔,那干翻译应该没问题了
关于这个特性我还没有研究
Yingjie (Iris) Hu
@huyingjie
翻译没有成就感
zhuzhuxia
@zhuzhuyule
你特长什么?
Yingjie (Iris) Hu
@huyingjie
看和谁比
比cs擅长数据分析, 比统计的擅长做网站….
zhuzhuxia
@zhuzhuyule
技术控呀
1.4k star
Yingjie (Iris) Hu
@huyingjie
技术含量挺低的.主要就是做个README.md文件.
大多时间都是花在收集和整理checklist上.
现在我特别佩服做awesome list的那帮人, 做一个list至少要5,6个小时的时间.
zhuzhuxia
@zhuzhuyule
我不太懂这个项目 checklist
Yingjie (Iris) Hu
@huyingjie
就是收集有用的网页, 制作成一张列表
zhuzhuxia
@zhuzhuyule
有没有 实例呢?
懂了
Yingjie (Iris) Hu
@huyingjie
zhuzhuxia
@zhuzhuyule
那看来你需要 这个: https://github.com/zhuzhuyule/HexoEditor
Yingjie (Iris) Hu
@huyingjie
为什么?
我看过这个, 没搞明白为什么要用它
zhuzhuxia
@zhuzhuyule
常写 md
Yingjie (Iris) Hu
@huyingjie
我用macdown和mweb写markdown
我的99.99%笔记都是markdown写的
zhuzhuxia
@zhuzhuyule
如果你使用 Hexo 搭建的博客,HexoEditor的预览效果可以更贴切与你网页的效果保持一致或者说近似
支持 tag 模板