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 init安装后,通过hexo s启动服务可以看到是对的
然后安装next git clone https://github.com/iissnan/he... themes/next theme: next 启动 hexo s 这是后localhost:4000显示的不是next官网上说的页面,这是怎么回事呀 显示这些 {% extends '_layout.swig' %} {% import '_macro/post.swig' as post_template %} {% import '_macro/sidebar.swig' as sidebar_template %} {% block title %}{{ config.title }}{% if theme.index_with_subtitle and config.subtitle %} - {{config.subtitle }}{% endif %}{% endblock %} {% block page_class %} {% if is_home() %}page-home{% endif -%} {% endblock %} {% block content %} {% for post in page.posts %} {{ post_template.render(post, true) }} {% endfor %} {% include '_partials/pagination.swig' %} {% endblock %} {% block sidebar %} {{ sidebar_template.render(false) }} {% endblock %}
无法上传图片。!!!! segmentfault上有图片 segmentfault上的问题链接
The text was updated successfully, but these errors were encountered:
原因是hexo在5.0之后把swig给删除了需要自己手动安装
npm i hexo-renderer-swig
然后hexo c清理缓存,hexo g & s 即可!
Sorry, something went wrong.
npm i hexo-renderer-swig. 我的博客:mindcarver.cn
No branches or pull requests
使用hexo init安装后,通过hexo s启动服务可以看到是对的
然后安装next
git clone https://github.com/iissnan/he... themes/next
theme: next
启动 hexo s
这是后localhost:4000显示的不是next官网上说的页面,这是怎么回事呀
显示这些
{% extends '_layout.swig' %} {% import '_macro/post.swig' as post_template %} {% import '_macro/sidebar.swig' as sidebar_template %} {% block title %}{{ config.title }}{% if theme.index_with_subtitle and config.subtitle %} - {{config.subtitle }}{% endif %}{% endblock %} {% block page_class %} {% if is_home() %}page-home{% endif -%} {% endblock %} {% block content %}
{% for post in page.posts %} {{ post_template.render(post, true) }} {% endfor %}
{% include '_partials/pagination.swig' %} {% endblock %} {% block sidebar %} {{ sidebar_template.render(false) }} {% endblock %}
无法上传图片。!!!!
segmentfault上有图片
segmentfault上的问题链接
The text was updated successfully, but these errors were encountered: