ITJoker233 / Gridea-theme-Chic

这个主题出自Hexo中的-Chic....我移植到了Gridea,喜欢的点个赞吧👍
https://blog.itjoker.cn
Other
279 stars 24 forks source link

Render custom page error #34

Closed Tony1026 closed 4 years ago

Tony1026 commented 4 years ago

Gridea/themes/Chic/templates/search.ejs

<head>
<%- include('./include/head.ejs', { siteTitle: themeConfig.siteName }) %>
<script src="//cdn.jsdelivr.net/gh/tangkaichuan/gridea-search/lib/fuse.js"></script>
<script src="//cdn.jsdelivr.net/gh/tangkaichuan/gridea-search/lib/ejs.min.js"></script>
<script src="//cdn.jsdelivr.net/gh/tangkaichuan/gridea-search/lib/gridea-search.min.js"></script>

Missing catch or finally after try in Gridea\themes\Chic\templates\include\head.ejs while compiling ejs

If the above error is not helpful, you may want to try EJS-Lint: https://github.com/RyanZim/EJS-Lint Or, if you meant to create an async function, pass async: true as an option.

求解决

ITJoker233 commented 4 years ago

已经修复了XD 那部分代码不是我写的 哈哈哈

ITJoker233 commented 4 years ago

Gridea/themes/Chic/templates/search.ejs

<head>
<%- include('./include/head.ejs', { siteTitle: themeConfig.siteName }) %>
<script src="//cdn.jsdelivr.net/gh/tangkaichuan/gridea-search/lib/fuse.js"></script>
<script src="//cdn.jsdelivr.net/gh/tangkaichuan/gridea-search/lib/ejs.min.js"></script>
<script src="//cdn.jsdelivr.net/gh/tangkaichuan/gridea-search/lib/gridea-search.min.js"></script>

Missing catch or finally after try in Gridea\themes\Chic\templates\include\head.ejs while compiling ejs

If the above error is not helpful, you may want to try EJS-Lint: https://github.com/RyanZim/EJS-Lint Or, if you meant to create an async function, pass async: true as an option.

求解决

重新pull 一下就行 git pull origin master