Static jekyll powered company website
- All posts are stored in the
_posts/
folder - Images from posts are stored in the
img/posts/[year]/
folder
- Add a file with naming convention date-title.markdown (e.g.
2013-2-22-New-Post.markdown
) into_posts/
- Add post meta information (YAML), followed by markdown
- Use
<!--more-->
to slice your blogpost (only the content above is shown in preview mode) - Include images using e.g
![Image Title](/img/posts/2013/customImage.jpg)
- Include code using Liquid syntax
---
layout: post
title: "New Post"
date: 2012-11-27 22:16:08
owner: John
tags: [node.js, performance]
---
Your Blogpost goes here...
<!--more-->
...rest of the blogpost goes here.
// Images
![Image Title](/img/posts/2013/customImage.jpg)
// Code snippets
{% highlight ruby %}
def foo
puts 'foo'
end
{% endhighlight %}
Make sure to install dependencies
bundle install
Build the site and serve it on http://localhost:4000
bundle exec jekyll serve --watch