To run the site locally, you'll need Jekyll and the GitHub Pages gem. The GH Pages gem is required to provide your local site with a similar environment to prod. For example, the site.github
param is automatically provided by GitHub in prod.
gem install bundler
).bundle install
bundle exec jekyll serve
Open http://127.0.0.1:4000/ in your web browser.
Send your contribution via PR. Once it is merged, it will be automatically published to the site.
Authors are key-value stored, so you will need to give yourself a key inside _config.yml - for example:
flovilmart:
name: Florent Vilmart
byline: Core Contributor on Parse
github: flovilmart
twitter: flovilmart
site: http://parseplatform.org/
Everything but name is optional.
To generate a new post, create a new file in the _posts
directory. Be sure to add your name as the author of the post and include several categories if appropriate. Here is a sample header:
layout: post
title: Welcome to the new Parse Blog
date: 2017-07-06 13:08 -0700
comments: true
author: flovilmart
categories: [Announcements, Learn, Events, Customers, Videos]
More info can be found in the official docs.
When adding a category to a blog post please remember to capitalize words. For categories with multiple words please separate words with dashes instead of spaces eg. New-Year not New Year.
The current list of categories:
If you would like to use a new category please make a new file in the categories folder, for example:
---
layout: blog
permalink: /blog/categories/announcements/
pagination:
enabled: true
category: Announcements
permalink: /:num/
---