Skip to content

malariamuseum/malariamuseum.github.io

Repository files navigation

MalariaMuseum

Let's eradicate malaria!!!

This site is designed with Rohit Goswami's Webpack2Jekyll Starter-kit

Deployed and built using Netlify

Dependencies

Installation

  1. Install dependencies listed above
  2. Run bundle install && yarn to install other dependencies
  3. 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: single
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 dist directory.