Install dependencies
$ npm run prepare
$ npm start
# I have no idea why I'm using Rake here ...
$ rake new title="<post title>" slug="<post slug>" thumbnail="<thumbnail image url>"
parameters (all of them are optional)
title
- the post's title. default value is defined in Rakefile.slug
- the post's slug. by default, it is generated fromtitle
. tested with English only.thumbnail
- the post's thumbnail. currently used for open graph meta tags. no default value.
- ideal: square image, at least 200x200 pixels. will be used with social media sharings (with
og:image
meta tag).
- for post/page's header image.
- 1600x700 pixels
- masked with 44% black
- try to limit the size too < 100KB