- Make sure you have a GitHub account
- Create a new file inside the
_postsdirectory - Enter the filename in a format like this
2015-01-24-your-title.md
As for the content of that file we prepared this one for you:
---
published: true
layout: post
author: your github username
title: Your title
category: drupal
---
Enter a description text here.
{% highlight js lineos %}
(function ($) {
Drupal.behaviors.namespace = {
attach: function (context, settings) {
// Finally add your code snippet :)
}
};
})(jQuery);
{% endhighlight %}