Skip to content
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

hexo启动报错 #18

Open
wants to merge 502 commits into
base: master
Choose a base branch
from
Open

hexo启动报错 #18

wants to merge 502 commits into from

Conversation

jamepika
Copy link

你好,我更新了新版代码之后,启动hexo报错如下:
err: Error: /opt/blog/hexo/themes/maupassant-hexo/layout/_partial/head.pug:54:1
52| include darkmode.pug
53|
> 54|
--------^

The end of the string reached with no closing bracket ) found.
at makeError (/opt/blog/hexo/node_modules/pug-error/index.js:34:13)
at Lexer.error (/opt/blog/hexo/node_modules/pug-lexer/index.js:62:15)
at Lexer.bracketExpression (/opt/blog/hexo/node_modules/pug-lexer/index.js:274:14)
at Lexer.attrs (/opt/blog/hexo/node_modules/pug-lexer/index.js:1445:24)
at Lexer.callLexerFunction (/opt/blog/hexo/node_modules/pug-lexer/index.js:1647:23)
at Lexer.advance (/opt/blog/hexo/node_modules/pug-lexer/index.js:1686:12)
at Lexer.callLexerFunction (/opt/blog/hexo/node_modules/pug-lexer/index.js:1647:23)
at Lexer.getTokens (/opt/blog/hexo/node_modules/pug-lexer/index.js:1706:12)
at lex (/opt/blog/hexo/node_modules/pug-lexer/index.js:12:42)
at Object.lex (/opt/blog/hexo/node_modules/pug/lib/index.js:104:9)
at Function.loadString [as string] (/opt/blog/hexo/node_modules/pug-load/index.js:53:24)
at compileBody (/opt/blog/hexo/node_modules/pug/lib/index.js:82:18)
at Object.exports.compile (/opt/blog/hexo/node_modules/pug/lib/index.js:269:16)
at Function.pugCompile [as compile] (/opt/blog/hexo/node_modules/hexo-renderer-pug/lib/pug.js:30:14)
at _View._precompile (/opt/blog/hexo/node_modules/hexo/lib/theme/view.js:129:33)
at new View (/opt/blog/hexo/node_modules/hexo/lib/theme/view.js:27:10)
at new _View (/opt/blog/hexo/node_modules/hexo/lib/theme/index.js:33:5)
at Theme.setView (/opt/blog/hexo/node_modules/hexo/lib/theme/index.js:65:18)
at /opt/blog/hexo/node_modules/hexo/lib/theme/processors/view.js:14:14

UM-Li and others added 30 commits October 30, 2022 00:42
Norwegian Bokmål Translation
Fix Quotation Error in Norwegian Translation
修正使用 Waline 时的评论计数部件链接
修复 Fancybox 在 Waline 等评论系统造成的异常
fix: tag links not ending with '/'
fix: optimize the display of tags in the article
對應 Issues #550

"valine"使用國際版的"LeanCloud",在 `new Valine` 的時候必須携帶上 `serverURLs` 參數(在 `LeanCloud控制臺-應用憑證-服務器地址` 可以獲取這個參數)。

已對我的修改做過測試,如果用戶是使用中國版的LeanCloud,則 `_config.yml` 的 `valine->serverURLs` 可以讓用戶根據自己的需求選擇填寫或者留空。
修复英文超宽不换行
fix: jpeg 图片无法显示 fancybox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.