We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 5后,hexo serve显示
{%- extends "_layout.swig" -%} {%- import '_macro/post.swig' as post_template -%} {%- import '_macro/archive.swig' as archive_template -%} {%- block title -%} {{ config.title }} {%- endblock -%} {%- block content -%} {%- set mode = theme.mode.toLowerCase() -%} {%- if mode == 'default' -%} {%- for post in page.posts -%} {{ post_template.render(post) }} {%- endfor -%} {%- include "_partial/pagination.swig" -%} {%- else -%} {{ archive_template.render() }} {%- endif -%} {%- endblock -%}
The text was updated successfully, but these errors were encountered:
Hexo 5 把 swig 渲染插件删了,需要单独安装
npm i hexo-renderer-swig
Sorry, something went wrong.
很棒,困扰了我好久的问题,原来是hexo 5把swing渲染插件删除了
resloved. 已在 README 中添加依赖 hexo-renderer-swig 的安装
No branches or pull requests
升级到hexo 5后,hexo serve显示
The text was updated successfully, but these errors were encountered: