So this is a blog post then. Specifically it’s pretty much the default Jekyll blog post. I should change that.

So it looks like the process is:

  1. make a new file in _posts with the name $date-$title.md
  2. give it a YAML header with “layout: post” and “categories: blog”
  3. write the blog contents as Markdown (Kramdown stylee)
  4. check locally with “jekyll serve”
  5. git it
  6. rsync to “prod”
  7. check it again

code snippets look like:

1
2
3
4
5
def print_hi(name)
  puts "Hi, #{name}"
end
print_hi('Tom')
#=> prints 'Hi, Tom' to STDOUT.

Links look like Jekyll docs, which is quite neat really.