Skip to content

3. Blogs

Ilkka Seppälä edited this page Nov 17, 2019 · 1 revision

Blog

To create a new blog entry you should follow the following steps:

  1. Check that the topic you want to write about isn't already covered by a previous blog post.
  2. Fork the repository.
  3. Create a markup file file in the /_posts folder.
  4. Name it in the following convention: YEAR-MONTH-DAY-title.MARKUP
    Where YEAR is a four-digit number, MONTH and DAY are both two-digit numbers, and MARKUP is the file extension representing the format used in the file. (Examples are below)
  5. Write your blog post (structure is explained below).
  6. Create a pull request.

Examples of valid post filenames:

2011-12-31-new-years-eve-is-awesome.md
2012-09-12-how-to-write-a-blog.textile

Structure of a blog post:

--- # this is so called 'YAML Front Matter', read up on it here: http://jekyllrb.com/docs/frontmatter/
layout: post # layout must always be post
title: Best Pattern Ever # the properly formatted title
author: shortname # the authors shortname from the `/_data/people.yml` Add yourself there, if not yet present.
---

Bla Bla Bla # the content of your blog post

More info on writing a blog post can be found on the official website

Clone this wiki locally