hexo使用next主题,location:4000显示不对问题。

Author: tysunshineCreated Oct 26, 2020Updated Nov 22, 2020

使用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上的问题链接