Requirement
- 免費。
- 使用 Markdown 編寫。
- 可以作為長期個人技術 wiki。
- 工具知名度越高越好。
因此最終選擇 https://pages.github.com/
Demo
可以參考這支影片,他展示的相當清楚。
Jekyll Installation
https://jekyllrb.com/docs/installation/macos/
安裝舊版本的 Jekyll。
Check Environment
建議使用 Jekyll 3.x 版本,因為很多 Theme 不支援 Jekyll 4.x
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
Pick up the Theme
https://jekyll-themes.com/
我是選擇一個簡單乾淨的主題,也有其他主題可以選擇,可以自行挑選。
https://jekyll-themes.com/poole/hyde
Test the Theme
建議先下載測試好不好使用,有沒有符合自己的需求。
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
Local 端執行測試,通常會要處理很多奇怪的錯誤。
主要改了這三個東西:
- 新增
plugins: [jekyll-paginate]
。
- 註解掉
Permalinks
。
- 修改 markdown and highlighter。
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
開始 Local 執行。
執行成功長這樣。
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
就可以開始玩這個 Theme了。
Fork the Repo
如果有確定要使用這個 Theme,可以先下載修改,最後上傳變成自己的部落格。
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
記得稍微修改一下 Setting。
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
Hydeout Theme Adjustment
https://github.com/fongandrew/hydeout
檔案架構
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
網站名稱
_config.yml
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
- 單純的 markdown file
./about.md, ./Projects.md
- Category
./category/Blog.md
- 外部連結
./_includes/custom-nav-links.html
_includes/custom-icon-links.html
_sass/hydeout/_variables.scss
_includes/sidebar-nav-links.html
_sass/hydeout/_variables.scss


_sass/hydeout/_variables.scss


Article
未完成的文章可以放在
_drafts/
完成並發布的文章可以放在
_posts/
命名規則
YYYY-MM-DD-N
e.g. _posts/2025-06-06-001.md
新增圖片
圖片位置
assets/img/
e.g. assets/img/tst.png
文章內新增圖片
文章階層
建議從第二階開始,因為第一階會跟 title 一樣大。