Step 1, create a file named 404.html
or 404.md
in the site directory.
Step 2, write the following code in the yaml header of the HTML document:
---
permalink: /404.html
---
Step 3, design and write 404 pages.
分类
WebsiteStep 1, create a file named 404.html
or 404.md
in the site directory.
Step 2, write the following code in the yaml header of the HTML document:
---
permalink: /404.html
---
Step 3, design and write 404 pages.
分类
Website