關於自定義頁面在https://help.github.com/articles/custom-404-pages裏有說明。
只需要在source根目錄下創建一個自定義的404.html文件即可,需要注意的是,必須是404.html,而不能是404.markdown。
如下:
D:\octopress\source\404.html.(把YOURURL和YOUREMAIL換成自己的信息即可)
---
layout: page
title: "Oops!"
---
<p>Looks like the page you’re after doesn’t exist. Guess you’re going to have to go <a target="_blank" href="http://YOURULR/">Home</a> and try again!</p>
<p>If you need help, feel free to contact me by emailing to YOUREMAIL!</p>