vann.io

vann.io

Personal website (Jekyll, gulp, webpack)

vann.io

This is a static blog site built with Jekyll and Gulp.

Dependencies

Installation

  1. Install dependencies listed above
  2. Run make to create the necessary directory structure
  3. Run bundle install && npm install to install other dependencies
  4. Finally, run gulp serve to start watching files

Writing Posts

To add new drafts, simply add a file in the posts/_drafts directory that follows the convention YYYY-MM-DD-name-of-post.ext and includes the necessary Front Matter at the top:

---
layout: post
title:  Example draft
date:   2016-01-01 00:00:00 +0000
categories: example
---

Once the draft is ready to publish, move the file to posts/_posts. Drafts will be viewable when served locally, but are not included in the production build.

Deployment

Deploy this to the prod branch with gulp deploy. This will build a site for production, without draft posts. Built code lives in the _site directory.