💎My personal website and blog >> http://zhewe.me/
sudo npm install -g gulp bower browser-sync
sudo gem install bundler
bundle install
bower install
npm install
jekyll server
Access, localhost:4000
gulp
or
gulp serve
rake post title="TITLE OF THE POST"
rake page name="about.md"
rake category title="Programing"
rake tag title="Jekyll"
.
├── bower.json
├── config.rb
├── _config.yml
├── deploy.sh
├── Gemfile
├── Gemfile.lock
├── gulp
│ ├── config.json
│ └── tasks
├── gulpfile.js
├── LICENSE
├── package.json
├── Rakefile
├── README.md
├── source
│ ├── 404.html
│ ├── about.html
│ ├── assets
│ │ ├── css
│ │ ├── fonts
│ │ ├── images
│ │ └── js
│ ├── _assets
│ │ ├── fonts
│ │ ├── images
│ │ ├── js
│ │ └── sass
│ ├── categories
│ ├── CNAME
│ ├── timeline.html
│ ├── _data
│ │ ├── categories.yml
│ │ └── tags.yml
│ ├── feed.xml
│ ├── _includes
│ │ ├── article.html
│ │ ├── footer.html
│ │ ├── header.html
│ │ ├── head.html
│ │ ├── pagination.html
│ │ ├── post
│ │ │ ├── post-comments.html
│ │ │ ├── post-content.html
│ │ │ ├── post-footer.html
│ │ │ ├── post-header.html
│ │ │ └── post-share.html
│ │ ├── search-modal.html
│ │ └── social.html
│ ├── index.html
│ ├── _layouts
│ │ ├── category.html
│ │ ├── compress.html
│ │ ├── default.html
│ │ ├── error404.html
│ │ ├── home.html
│ │ ├── page.html
│ │ ├── post.html
│ │ └── tag.html
│ ├── _plugins
│ │ ├── ext.rb
│ │ ├── strip.rb
│ │ └── youtube.rb
│ ├── _posts
│ ├── blogs
│ │ └── index.html
│ ├── robots.txt
│ ├── search.json
│ ├── sitemap.xml
│ └── tags
└── travisGemfile
All folders starting with underscore, such as
_assetswill not be included in final site.
- File
bower.jsonmaintains the bower dependencies. - Script
config.rbsets the paths of assets and other global configurations. - YAML file
_config.ymlstores the global information of admin user. - Script
deploy.shis called by.travis.ymland is used to force push the content insourcebranch tomasterbranch. - File
GemfileandGemfile.lockmaintains the ruby dependencies. - Folder
gulpand scriptgulpfile.js: see gulp repo - File
package.jsonmaintains the npm dependencies. - Script
Rakefilesets several frequently-used functionalities, such as creating new catrgory, creating new tag (mentioned above). - Folder
sourcestores all the source code. - Folder
assetsand_assetsstores the css, fonts, images and javascripts of the site. And_assetswill not be included in the final site. - Folder
categoriesstores all kinds of categories. You can add new categories by usingrakecommand. - Folder
tagsstores all kinds of tags. You can add new tags by usingrakecommand. - File
CNAMEstores the domain name. - File
index.htmlis the default starting page of the site. - File
about.htmlstores self-introduce content. - File
contract.htmlis the contract page. - Folder
blogsstores blog pages. - Folder
_datastores the information of catrgories and tags in YAML file. - Folder
_includesand_layoutsstores files related to site master template. - Folder
_pluginsstores some customed plugins, such as YouTube video embedded script. - Folder
_postsstores all post pages. You can add new posts by usingrakecommand. - File
search.jsonis used for seach posts. - File
feed.xmlis for RSS subscribe. - File
robots.txt: Web site owners use the /robots.txt file to give instructions about their site to web robots; this is called The Robots Exclusion Protocol.
- Fork it
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -m 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
It is free under the open-source MIT license.