This repo hosts Rho's public data science posts and awesome underlying Jekyll Now engine.
A follow these steps to create a new post entirely in the github user interface. This nice article provides a lot more detail.
- Navigate to the posts folder
- Click the "Create a new file" button
- Name your new file using the following convention: "YYYY-MM-DD-Blog-Post-Title.md"
- Add the following header to the file:
---
layout: post
title: Blog Post Title
---
- Write your post using markdown.
- Click "Create a new branch for this commit and start a pull request", and give the PR an informative name
- Click Propose File change to save your post
- Open the PR you just created and request a review (Ryan or Jeremy can do it unless you've got someone specific in mind).
- Once the reviewer approves the PR, click merge to master.
- Do a final QC to make sure the post looks good on https://rhoinc.github.io/blog/
You can also create a post locally and then send it to github following these steps.
Upload your image to the /images
folder in the repo using the drag and drop interface in github, or command line), and then add the following to your post: <img src="{{ site.baseurl }}/images/myImage.png"/>
. The {{ site.baseurl }}
bit is using Jekyll's liquid templating language and is required to make the image render correctly on the live website, but it breaks the images in the "preview" section of the editor. As such, you might want to add the curly brace bit at the end so that you can be sure the preview looks good.
Make a stand-alone example page and link to it. Also consider adding a screenshot to the blog post. Ask Jeremy or Ryan if you're not sure where the example should live (Hint: Strongly consider hosting the example page along with the core library used to create it).