#Getting Started with Jekyll Static sites generators FTW
- Great docs!
- It's fast!
- No database!
- Gh-pages integration!
gem install jekyll bundler
jekyll new myBlog
cd myBlog
bundle exec jekyll serve
-
Install dependancies.
npm i gulp g -g
npm i gulp-gh-pages --save-dev
gem install jekyll pygments redcarpet bundler
-
Fork Gulp Sass Browsersync or download zip.
- Update
package.json, _config.yml, index.html
with your own info.
- Update
-
CD into project folder and run
gulp
-
Update a Post
- Navigate to
/_posts
- Update
2014-04-20-welcome-to-jekyll.markdown
- Save
- Navigate to
-
Create a Post
- Create new markdown file (.md or .markdown will both work.)
- Follow the naming convention.
YYYY-MM-DD-blog-post-title.md
- Add front matter.
- Start writing your new post.
-
Deployment to Github Pages
- Add this to snippet to your gulp file
var deploy = require("gulp-gh-pages"); gulp.task("deploy", ["jekyll-build"], function () { return gulp.src("./_site/**/*") .pipe(deploy()); });
- Run
gulp deploy