iissnan / hexo-theme-next

Elegant theme for Hexo.
http://notes.iissnan.com
MIT License
15.88k stars 3.62k forks source link

博客菜单添加自定义页面后,发布文章后页面内容为空白 #2111

Closed Andywang089 closed 6 years ago

Andywang089 commented 6 years ago

I agree and want to create new issue


Expected behavior

问题简要描述如下: 1、博客基于hexo+Git+next构建 2、菜单添加自定义菜单:随笔、电子书分享、读书笔记、变成、学习、工具资源、影音

设置如下: menu: home: / || home essay: /essay/ || pencil-square book: /book/ || book booknotes: /booknotes/ || pencil-square-o learncode: /learncode/ || code learning: /learning/ || leanpub tools: /tools/ || briefcase media: /media/ || film archives: /archives/ || history tags: /tags/ || tags about: /关于/ || user categories: /categories/ || list

3、给自定义菜单添加页面,出现问题如图所示,页面内容为空白,以随笔为例: 添加随笔页面:hexo new page essay 在 essay 文件夹下的 index.md 文档中添加 “type: essay 发布文章时也在“front matter”中标明:essay,如下:

Actual behavior

但是发布后随笔页面依然为空白,这是什么原因呢?

Steps to reproduce the behavior

Hexo Information

$ hexo v
hexo: 3.5.0
hexo-cli: 1.0.4
os: Windows_NT 10.0.16299 win32 x64

NexT Information

NexT Version:

[] Latest Master branch.
[] Latest Release version.
[X] Old version - v5.1.4

NexT Scheme:

[] All schemes
[] Muse
[] Mist
[X] Pisces
[] Gemini

Other Information

ivan-nginx commented 6 years ago

NexT is rebased into organization repo. If you want new feature, fix, or support, create new in NexT v6.x repo (desirable in English).

There is instructions on English or Chinese how to update from v5.1.x to v 6.0.x

You also may read this for details.