mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-14 17:15:18 +01:00
43 lines
961 B
Markdown
43 lines
961 B
Markdown
---
|
|
layout: post
|
|
title: "Welcome to Jekyll!"
|
|
author: Matthias Kretschmann
|
|
date: 2013-11-17 23:56:48
|
|
categories:
|
|
- jekyll
|
|
- update
|
|
- another
|
|
---
|
|
|
|
You'll find this post in your `_posts` directory - edit this post and re-build (or run with the `-w` switch) to see your changes!
|
|
To add new posts, simply add a file in the `_posts` directory that follows the convention: YYYY-MM-DD-name-of-post.ext.
|
|
|
|
Jekyll also offers powerful support for code snippets:
|
|
|
|
{% highlight css %}
|
|
|
|
.hello {
|
|
margin-top: 13px;
|
|
// a comment
|
|
border: 1px solid rgba(255,255,255, .4)
|
|
}
|
|
|
|
{% endhighlight %}
|
|
|
|
jo jo
|
|
|
|
{% highlight ruby %}
|
|
def print_hi(name)
|
|
puts "Hi, #{name}"
|
|
end
|
|
print_hi('Tom')
|
|
|
|
=> prints 'Hi, Tom' to STDOUT.
|
|
|
|
{% endhighlight %}
|
|
|
|
Check out the [Jekyll docs][jekyll] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll's GitHub repo][jekyll-gh].
|
|
|
|
[jekyll-gh]: https://github.com/mojombo/jekyll
|
|
[jekyll]: http://jekyllrb.com
|