Skip to content

Latest commit

 

History

History
56 lines (42 loc) · 1.18 KB

README.md

File metadata and controls

56 lines (42 loc) · 1.18 KB

cargomedia.github.io

http://www.cargomedia.ch/

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 Blogpost

  • 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

Example

---
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 %}

Test site locally

Make sure to install dependencies

bundle install

Build the site and serve it on http://localhost:4000

bundle exec jekyll serve --watch