Blog Entry Tutorial

October 3, 2017

A quick tutorial for adding a new blog post on the OnShift Engineering blog.

Setup a virtual environment

virtualenv -p python3 ~/.virtualenv/docker
source ~/.virtualenv/docker/bin/activate

Fork and clone the repo

git clone git@github.com:OnShift/onshift.github.io.git -o upstream

Create your post

Create: _posts/2017-10-03-blog-entry-tutorial.md

---
layout: post
authors:
- pstar
date: 2017-10-03 09:00:00 -0500
title: Blog Entry Tutorial
---

Add your content here...

You’re Done!

See your content

docker-compose up

Add your bio

Edit _data/people.yml

pstar:
first_name: Patrick
last_name: Star
full_name: Patrick Star
job_title: Bum
email: ihave5appendages@gmail.com
avatar: http://images5.fanpop.com/image/photos/25800000/lol-patrick-star-spongebob-25851951-500-500.png
handles:
github: pstar
linkedin: patrickstar
twitter: Patrick_Star
bio: |
Patrick Star is a fictional character in the American animated television series SpongeBob SquarePants. He is voiced by actor Bill Fagerbakke, who also voices numerous other characters on the show. Created and designed by marine biologist and cartoonist Stephen Hillenburg, the series creator, Patrick first appeared on television in the show's pilot episode "Help Wanted" on May 1, 1999.

Notes

The blog parses markdown (similar to GitHub markdown) and converts it to HTML. It also uses native HTML.

References

Written on October 3, 2017 by Dan Schaefer

Join the Discussion