Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
maskleo
@maskleo
@ivan-nginx
Tonight I try the default theme.if there is any problem.
Ivan.Nginx
@ivan-nginx
IDK, if on default theme u have same problem, this is Hexo issue. If not, try to find out in NexT issues this problem. There are mist be solved here.
maskleo
@maskleo
@ivan-nginx hi,I'm try to use default theme. I can't find menu. But I can confirm Paging problem In IE browser . NexT version: 5.1.3
maskleo
@maskleo
hi, This is demo. Can reproduce the menu problem. Because I changed some documents.So I uploaded all the relevant documents.It may be large, but it helps find the problem. https://github.com/mask-dmrs/hexo-next-demo. @ivan-nginx
maskleo
@maskleo
I found the problem,I want add align = "center" to ###. So , I use the h3 tag. This led to parsing errors.
maskleo
@maskleo
My blog is Chinese.The language of category (or tags) is Chinese.The generated category links with Chinese.This is unfriendly.I expect categories can also use English as custom links.But do not want the article's links to contain categories.Because of that article link looks long.Does the current version support my idea? Can anyone help me?The method of generating links in which document? I think this can be amended.
cailizhang
@caili-zhang
I want to add SNS share button to each page ,which plugin should I use and modify
cailizhang
@caili-zhang
eyea
@eyea
@iissnan 是网络被劫持了
脱离了低级趣味的程序狗
@fangtaoli
用Markdown写了文章,想用上自己的样式,修改哪里啊?
maskleo
@maskleo
@fangtaoli Markdown支持html css 你像写html样式一样写就行了
xiaotan828
@xiaotan828
问一下用Mist scheme之后背景会和文章混到一起怎么办
捕获.PNG
怎么设置post的透明度
zhuzhuxia
@zhuzhuyule
欢迎大家使用:HexoEditor,默认适配Next主题
Ivan.Nginx
@ivan-nginx
Cool, yeah. But i don't understand: license is GPL or MIT?
Ivan.Nginx
@ivan-nginx

Hi guys and happy NY!

NexT repository is moving here: https://github.com/theme-next and my maintenance will resume there.
It's include all from v5.1.4, rebase to v6.0.0 + have some small fixes & features.
Documentation is not totally ready yet, but domen "theme-next.org" already registered and i'll try to do my best.
Any contributing and help will appreciate! ANY! Any questions — ivan.nginx@gmail.com; i'll give all answers.

Welcome!

zhuzhuxia
@zhuzhuyule
I can Fix License is GPL, thanks !
and can you add this editor in Next README.md ?
Ivan.Nginx
@ivan-nginx
U can add it, yeah. I will merge.
zhuzhuxia
@zhuzhuyule
OK , I have pulled !
zhuzhuxia
@zhuzhuyule
@ivan-nginx why not add v6.0.0 link in README.md,it can attract people to new repository !
Ivan.Nginx
@ivan-nginx
I already added.
See pull. Dude, u not monitoring your pulls? Guys, to motore pulls use e-mail's, that's cool and fast.
Oh, u about that, i added but on letters NexT. I just not want to HARD rebase.
BTW, i can add it at the right-top. Yeah, good idea.
zhuzhuxia
@zhuzhuyule
if i modify the theme, i will modify Next-theme v5.1 or v6.0 ?
Ivan.Nginx
@ivan-nginx
If u install 6x to separate directory, then, u modify only what u modify.
maskleo
@maskleo

hi,guys! Can anyone help me?
I using the latest version.https://github.com/theme-next/hexo-theme-next.
I has remove node_modules directory and reinstall using npm install.
copy themes/next/source/* to source/*
but exc hexo g
It throws some exception:

D:\blog\masque-fate.github.io>hexo g
INFO  Start processing
FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
Error: D:/blog/masque-fate.github.io/source/css/_common/components/highlight/highlight.styl:79:30
   75|
   76|   .gutter pre {
   77|     padding-left: 10px
   78|     padding-right: 10px
   79|     color: $highlight-gutter.color
------------------------------------^
   80|     text-align: right
   81|     background-color: $highlight-gutter.bg-color
   82|   }

$highlight-gutter has no property .color
    at ".gutter pre " (D:/blog/masque-fate.github.io/source/css/_common/components/highlight/highlight.styl:75:4)
    at ".highlight " (D:/blog/masque-fate.github.io/source/css/_common/components/highlight/highlight.styl:39:2)

    at Evaluator.visitMember (D:\blog\masque-fate.github.io\node_modules\stylus\lib\visitor\evaluator.js:351:11)
    at Evaluator.Visitor.visit (D:\blog\masque-fate.github.io\node_modules\stylus\lib\visitor\index.js:28:40)
    at Evaluator.visit (D:\blog\masque-fate.github.io\node_modules\stylus\lib\visitor\evaluator.js:160:18)
    at Evaluator.visitExpression (D:\blog\masque-fate.github.io\node_modules\stylus\lib\visitor\evaluator.js:644:26)
    at Evaluator.Visitor.visit (D:\blog\masque-fate.github.io\node_modules\stylus\lib\visitor\index.js:28:40)
    at Evaluator.visit (D:\blog\masque-fate.github.io\node_modules\stylus\lib\visitor\evaluator.js:160:18)
    at Evaluator.visitExpression (D:\blog\masque-fate.github.io\node_modules\stylus\lib\visitor\evaluator.js:644:26)
    at Evaluator.Visitor.visit (D:\blog\masque-fate.github.io\node_modules\stylus\lib\visitor\index.js:28:40)
    at Evaluator.visit (D:\blog\masque-fate.github.io\node_modules\stylus\lib\visitor\evaluator.js:160:18)
    at Evaluator.visitProperty (D:\blog\masque-fate.github.io\node_modules\stylus\lib\visitor\evaluator.js:687:22)
    at Evaluator.Visitor.visit (D:\blog\masque-fate.github.io\node_modules\stylus\lib\visitor\index.js:28:40)
    at Evaluator.visit (D:\blog\masque-fate.github.io\node_modules\stylus\lib\visitor\evaluator.js:160:18)
    at Evaluator.visitBlock (D:\blog\masque-fate.github.io\node_modules\stylus\lib\visitor\evaluator.js:720:39)
    at Evaluator.Visitor.visit (D:\blog\masque-fate.github.io\node_modules\stylus\lib\visitor\index.js:28:40)
    at Evaluator.visit (D:\blog\masque-fate.github.io\node_modules\stylus\lib\visitor\evaluator.js:160:18)
    at Evaluator.visitGroup (D:\blog\masque-fate.github.io\node_modules\stylus\lib\visitor\evaluator.js:261:22)
    at Evaluator.Visitor.visit (D:\blog\masque-fate.github.io\node_modules\stylus\lib\visitor\index.js:28:40)
    at Evaluator.visit (D:\blog\masque-fate.github.io\node_modules\stylus\lib\visitor\evaluator.js:160:18)
    at Evaluator.visitBlock (D:\blog\masque-fate.github.io\node_modules\stylus\lib\visitor\evaluator.js:720:39)
    at Evaluator.Visitor.visit (D:\blog\masque-fate.github.io\node_modules\stylus\lib\visitor\index.js:28:40)
    at Evaluator.visit (D:\blog\masque-fate.github.io\node_modules\stylus\lib\visitor\evaluator.js:160:18)
    at Evaluator.visitGroup (D:\blog\masque-fate.github.io\node_modules\stylus\lib\visitor\evaluator.js:261:22)

package.json

{
  "name": "hexo-site",
  "version": "0.0.0",
  "private": true,
  "hexo": {
    "version": "3.3.9"
  },
  "dependencies": {
    "gitment": "0.0.3",
    "hexo": "^3.2.0",
    "hexo-deployer-git": "^0.3.1",
    "hexo-generator-archive": "^0.1.4",
    "hexo-generator-category": "^0.1.3",
    "hexo-generator-index": "^0.2.0",
    "hexo-generator-searchdb": "^1.0.8",
    "hexo-generator-tag": "^0.2.0",
    "hexo-neat": "^1.0.4",
    "hexo-renderer-ejs": "^0.3.0",
    "hexo-renderer-marked": "^0.3.0",
    "hexo-renderer-stylus": "^0.3.1",
    "hexo-server": "^0.2.0"
  }
}
zhuzhuxia
@zhuzhuyule
@maskleo you can check dir .\themes\next\source\css\_common\components\highlight\theme.styl
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 直接覆盖
就可以了,没影响