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

更新版本时.ejs文件出错 #41

Open
yumeko11 opened this issue Jul 28, 2021 · 1 comment
Open

更新版本时.ejs文件出错 #41

yumeko11 opened this issue Jul 28, 2021 · 1 comment

Comments

@yumeko11
Copy link

ERROR ReferenceError: E:\blog\yumeko11Blog\themes\replica\layout\layout.ejs:7
5| <%- partial('_partial/navbar') %>
6|

7| <%- body %>
8|


9| <%- partial('_partial/footer') %>
10| <%- partial('_partial/script') %>

body is not defined
at eval (E:\blog\yumeko11Blog\themes\replica\layout\layout.ejs:21:17)
at layout (E:\blog\yumeko11Blog\node_modules\ejs\lib\ejs.js:682:17)
at _View._compiled (E:\blog\yumeko11Blog\node_modules\hexo\lib\theme\view.js:136:50)
at _View.render (E:\blog\yumeko11Blog\node_modules\hexo\lib\theme\view.js:39:17)
at E:\blog\yumeko11Blog\node_modules\hexo\lib\hexo\index.js:64:21
at tryCatcher (E:\blog\yumeko11Blog\node_modules\bluebird\js\release\util.js:16:23)
at E:\blog\yumeko11Blog\node_modules\bluebird\js\release\method.js:15:34
at RouteStream.read (E:\blog\yumeko11Blog\node_modules\hexo\lib\hexo\router.js:47:5)
at RouteStream.Readable.read (internal/streams/readable.js:462:10)
at resume
(internal/streams/readable.js:958:12)
at processTicksAndRejections (internal/process/task_queues.js:82:21) {
path: 'E:\blog\yumeko11Blog\themes\replica\layout\layout.ejs'

@yumeko11
Copy link
Author

很喜欢这个主题 希望帮忙解决一下

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

No branches or pull requests

1 participant