依賴 Ruby + Bundler + Jekyll(鎖在 github-pages 228)。
# 1. 安裝依賴(第一次 clone 後或更新 Gemfile 時跑)
bundle install
# 2. 啟動本地 server,預設網址 http://localhost:4000
bundle exec jekyll serve
# 草稿一起預覽
bundle exec jekyll serve --drafts
# 想換 port
bundle exec jekyll serve --port 4001熱更新已內建,改 _posts/、_layouts/、_includes/ 後重新整理瀏覽器即可;改到 _config.yml 要重啟 server。
檔名: joinMembership.html
是在 masthead.html 裡面,從 title 到 subtitle 都可以改
找到 _layouts/default.html, 在裡面添加對應的 html 即可
找到 _includes/scripts.html, 在裡面添加對應的 js 即可
檔名: custom/language-switch.html 插在 _layouts/masthead.html title 後面
