網站架構

編輯歷史

時間 作者 版本
2015-05-11 11:40 – 11:41 Pofeng Lee r164 – r167
顯示 diff
(2 行未修改)
ocf.tw 目前是放在 github pages , 搭配內建的 Jekyll
- local 開發需要裝 Jekyll, 但是因為 github pages server 已經支援 Jekyll, 所以可以讓 end user 直接改 markdown , server 端就會生成組合過的 html
+ local 開發需要裝 Jekyll, 但是因為 github pages server 已經支援 Jekyll, 所以可以讓 end user 直接改 markdown 或 html , server 端就會生成組合過的 html
source: https://github.com/ocftw/ocf.tw/blob/gh-pages/t/1.html
(9 行未修改)
2015-05-09 18:14 – 18:16 Pofeng Lee r123 – r163
顯示 diff
網站架構
- ocf.tw 目前是放在 github pages 搭配內建的 Jekyll
+ ocf.tw 目前是放在 github pages , 搭配內建的 Jekyll
local 開發需要裝 Jekyll, 但是因為 github pages server 已經支援 Jekyll, 所以可以讓 end user 直接改 markdown , server 端就會生成組合過的 html
- source: https://github.com/ocftw/ocf.tw/tree/gh-pages/t
+ source: https://github.com/ocftw/ocf.tw/blob/gh-pages/t/1.html
demo: http://ocf.tw/t/1.html
(3 行未修改)
原理是 /_layouts/default.html 會引入 /_includes/header.html 等等相對映檔案
- 舉例
+ header.html 裡面的 page.title
+ 是從 https://github.com/ocftw/ocf.tw/blob/gh-pages/t/1.html 最上方的變數傳過去的
2015-05-09 18:14 (unknown) r122
顯示 diff
(15 行未修改)
2015-05-09 18:11 – 18:14 Pofeng Lee r83 – r121
顯示 diff
(5 行未修改)
source: https://github.com/ocftw/ocf.tw/tree/gh-pages/t
- d
+ demo: http://ocf.tw/t/1.html
+
+ source: https://github.com/ocftw/ocf.tw/blob/gh-pages/t/2.md
+ demo: http://ocf.tw/t/2.html
+
+ 原理是 /_layouts/default.html 會引入 /_includes/header.html 等等相對映檔案
+
+ 舉例
2015-05-09 18:11 (unknown) r82
顯示 diff
(8 行未修改)
2015-05-09 18:08 – 18:11 Pofeng Lee r1 – r81
顯示 diff
- Untitled
+ 網站架構
- This pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!
+ ocf.tw 目前是放在 github pages 搭配內建的 Jekyll
+
+ local 開發需要裝 Jekyll, 但是因為 github pages server 已經支援 Jekyll, 所以可以讓 end user 直接改 markdown , server 端就會生成組合過的 html
+
+ source: https://github.com/ocftw/ocf.tw/tree/gh-pages/t
+ d
2015-05-09 18:08 (unknown) r0
顯示 diff
+ Untitled
+ This pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!