Github: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 28: | Line 28: | ||
# We can open a browser to see a template of html page created by '''jekyll new''' command. | # We can open a browser to see a template of html page created by '''jekyll new''' command. | ||
</pre> | </pre> | ||
= [https://hexo.io/zh-tw/ hexo] = | |||
Hexo is a fast, simple and powerful blog framework. You write posts in Markdown (or other languages) and Hexo generates static files with a beautiful theme in seconds. | |||
== Example == | |||
* http://mutse.github.io/ |
Revision as of 09:21, 10 July 2015
Host web site
- Using GitHub Pages To Host Your Website using a Custom Domain. The IP address information for Github is changed to new ones.
Some Examples
Jekyll
Install Jekyll
on Ubuntu 14.04 I use (the second command will take a while to start),
sudo apt-get install ruby1.9.1-dev sudo gem install jekyll
Example 1
cd /tmp jekyll new MyNewSite # It will create a new folder 'MyNewSite' with about.md, _config.yml, css (folder), # _includes (folder), index.html, _layouts (folder), _posts (folder) and _sass (folder). cd MyNewSite jekyll serve --watch # It'll say the Server Address: http://127.0.0.1:4000/ # We can open a browser to see a template of html page created by '''jekyll new''' command.
hexo
Hexo is a fast, simple and powerful blog framework. You write posts in Markdown (or other languages) and Hexo generates static files with a beautiful theme in seconds.