Comments (15)
i have report the issue in that repo.
from hexo-theme-next.
Can u please provaide all possible links to same issue from @iissnan repo to close them later?
One link already set, is there any another links?
from hexo-theme-next.
@ivan-nginx the lists of opened issues: #2024,#1637,#2058
from hexo-theme-next.
@sli1989 Thank you!
from hexo-theme-next.
So, what about here?
from hexo-theme-next.
still need to Romove the if(config.template) args.push("--template=" + config.template);
in hexo\node_modules\hexo-renderer-pandoc\index.js
.
i think it's the problem of the new version of hexo-renderer-pandoc
, undefined of template
FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
TypeError: Cannot read property 'template' of undefined
at Hexo.pandocRenderer (F:\LISAI\alex\hexo\node_modules\hexo-renderer-pandoc\index.js:56:12)
at Hexo.tryCatcher (F:\LISAI\alex\hexo\node_modules\bluebird\js\release\util.js:16:23)
at Hexo.ret (eval at makeNodePromisifiedEval (C:\Users\Administrator\AppData\Roaming\npm\node_modules\hexo-cli\node_modules\bluebird\js\release\promisify.js:184:12), <anonymous>:13:39)
at F:\LISAI\alex\hexo\node_modules\hexo\lib\hexo\render.js:61:21
at tryCatcher (F:\LISAI\alex\hexo\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (F:\LISAI\alex\hexo\node_modules\bluebird\js\release\promise.js:512:31)
at Promise._settlePromise (F:\LISAI\alex\hexo\node_modules\bluebird\js\release\promise.js:569:18)
at Promise._settlePromiseCtx (F:\LISAI\alex\hexo\node_modules\bluebird\js\release\promise.js:606:10)
at Async._drainQueue (F:\LISAI\alex\hexo\node_modules\bluebird\js\release\async.js:138:12)
at Async._drainQueues (F:\LISAI\alex\hexo\node_modules\bluebird\js\release\async.js:143:10)
at Immediate.Async.drainQueues (F:\LISAI\alex\hexo\node_modules\bluebird\js\release\async.js:17:14)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
from hexo-theme-next.
@sli1989 so, we can post this issue in hexo-renderer-pandoc
and explain this, right? I can't to edit external repositories. 😃
Oooh, already done. Well, need just to wait response from author.
from hexo-theme-next.
in the new version of hexo-renderer-pandoc
, a template
option is added in configuration .
is there any possible to add corresponding settings in next? like set pandoc in theme's _config.yml
.
from hexo-theme-next.
This is only readme commit. Need to see this.
And as i see need just to comment template
option to bypass it. Try it.
pandoc:
filters:
extra:
# template:
meta:
mathEngine:
P.S. Not romove, but remove — 去掉 — Удалить.
from hexo-theme-next.
still Cannot read property 'template' of undefined
.
the templates instruction in pandoc.
from hexo-theme-next.
Try to change this:
- if(config.template) args.push("--template=" + config.template);
+ if(config.template) {
+ args.push("--template=" + config.template);
+ }
from hexo-theme-next.
if change the file, just comment it.
the problems is that i want to add configuration in theme's _config.yml
to realize the ci automatically.
thank u your help, maybe need to wait author's response.
from hexo-theme-next.
@ivan-nginx you can close the issue.
if you want to use hexo-renderer-pandoc
(new version) in hexo , you must add default configuration in the site's _config.yml
not the theme's. I would never have thought of doing that.
pandoc:
filters:
extra:
template:
meta:
mathEngine:
from hexo-theme-next.
@sli1989 so, all works as i saw before? Let me repeat this steps:
- Add in root Hexo
_config.yml
:pandoc: filters: extra: template: meta: mathEngine:
- No need to comment
template:
option in this configuration. - No errors at generation. All works fine in accorduance with #19 issue.
That's right?
from hexo-theme-next.
yes, just Add default configuration in root Hexo _config.yml
and ensure that mathjax's cdn is working.
i think it's just need a definition, even comment template:
option, it works as well.
from hexo-theme-next.
Related Issues (20)
- 无法设置自动折叠帖子 HOT 5
- click tags btn but get 404 page HOT 1
- Archive page cannot be rendered and displayed normally. HOT 1
- NexT note with customize link color HOT 1
- 如何添加博客分享功能? HOT 2
- <tr> tag with class="header" displayed incorrectly HOT 1
- 如何更换自定义字体 HOT 1
- ~/source/_data/footer.swig can't work as well HOT 1
- 能不能在主题中增加一个按标签进行分类,在搜索框前面增加选择标签的下拉框,进而实现分类搜索的功能?? HOT 1
- 移动端国内访问博客只显示框架,不显示文字 HOT 2
- 使用utteranc作为评论系统, 点击github注册按钮后, 总是返回到http://example.com/... 然后页面找不到 HOT 2
- 自定义:添加代码块折叠
- 空格宽度不一样 HOT 2
- 能否支持配置备案跳转地址 HOT 1
- Gitter集成问题 HOT 1
- insert a inline image in text, but the image and text are not aligned horizontally HOT 1
- next 主题如何设置首页为Archives HOT 1
- 有中文说明的config.yml吗? HOT 1
- 将官网链接替换为 theme-next.js.org HOT 2
- 關於中文段首空格與豎排的支持諮詢。 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hexo-theme-next.