Hexo-theme-next: Custom 404 Page Docs doesn't work

Created on 27 Mar 2019  ·  3Comments  ·  Source: theme-next/hexo-theme-next

I agree and want to create new issue


Expected behavior

404 page is available

Actual behavior

I just follow the docs which title is "Custom 404 Page" in https://theme-next.org/docs/theme-settings/custom-pages but it doesn't work, I got an error showed in the page "can't get /404".:open_mouth:

Steps to reproduce the behavior

I check and repeat the steps several times but it still got the same error, luckily, i think of the "Custom Page Support" part in docs and move the "404" folder into source folder in my "hexo" root directory it works, the 404 page is available in my dev environment.
it could be some version problem of hexo or next documentation updating issue I think.
Sorry for my poor English.:yum:

Node.js and NPM Information


node v10.13.0
npm 6.4.1

Hexo version


hexo 3.8.0
hexo-cli 1.1.0

NexT Information

NexT Version:

  • [X] Latest Master branch
  • [ ] Latest Release version
  • [ ] Old version

NexT Configuration:

menu:
  home: / || home
  tags: /tags/ || tags
  categories: /categories/ || th
  archives: /archives/ || archive
  commonweal: /404/ || heartbeat

Docs Update

it might be correct:exclamation:

cd your-hexo-site/source
mkdir 404
touch 404/index.md
Bug Solved 📖 Docs

All 3 comments

Sorry, there are some issues in the documentation that are misleading...

never mind!:satisfied:doctor BOOM!
If my suggestion had confirmed correctly by ur member just fix it and update the docs.Except for this little misleading text.Next is still a useful and powerful theme, I just enjoy it!
btw, you can close this issue if you want.:relaxed:

This thread has been automatically locked since there has not been any recent activity after it was closed. It is possible issue was solved or at least outdated. Feel free to open new for related bugs.

Was this page helpful?
0 / 5 - 0 ratings