Skip to content

Conversation

@wildskyf
Copy link
Member

  1. use Markdown
  2. use Scss
  3. Heading still need to be improved

1. use Markdown 2. use Scss 3. Heading still need to be improved
@chusiangchusiang merged commit 3049f23 into vim-tw:masterDec 8, 2015
@chusiang
Copy link
Member

@wi1d5ky 使用 Jekyll 和 Scss 改寫,需在本地跑之前需有 Ruby 和 github-pages (Jekyll) 的環境。

How to run vim-tw.github.io at localhost

Install Ruby package with gem.

$ gem install bundler github-pages 

Run server.

$ jekyll serve Configuration file: /Users/USERNAME/vcs/vim-tw.github.io/_config.yml Source: /Users/USERNAME/vcs/vim-tw.github.io Destination: /Users/USERNAME/vcs/vim-tw.github.io/_site Generating... done. Auto-regeneration: enabled for '/Users/USERNAME/vcs/vim-tw.github.io' Configuration file: /Users/USERNAME/vcs/vim-tw.github.io/_config.yml Server address: http://0.0.0.0:4000/ Server running... press ctrl-c to stop. 

Architecture

若需新增其它頁面,只需於根目錄下新增 foo.md 或 foo.html 即可,(README.md 例外,請參考 _config.yml 裡的第一行 exclude: [README.md]

$ tree . ├── LICENSE ├── README.md ├── _config.yml ├── _layouts │ └── default.html ├── _sass │ └── variable.scss ├── _site │ ├── LICENSE │ ├── index.html │ └── style.css ├── index.md └── style.scss 3 directories, 10 files 

Reference

  1. Using Jekyll with Pages - User Documentation
  2. Front Matter
  3. f2etw/f2etw.github.io

@wildskyf
Copy link
MemberAuthor

自肥一下XD
https://wildsky.cc/jekyll/

@chusiang
Copy link
Member

@wi1d5ky 寫的個很!給您一個 👍 。

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@wildskyf@chusiang