π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.