Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 18 lines (16 sloc) 0.407 kb
54fc13a @rtomayko Add blog and a couple of sample posts
rtomayko authored
1 ---
2 layout: default
dfee997 @rtomayko Blog the FAQ
rtomayko authored
3 title: "Sinatra: The Blog"
54fc13a @rtomayko Add blog and a couple of sample posts
rtomayko authored
4 id: blog
5 ---
6
7 {% for post in site.posts %}
8 <div class='post'>
9 <h1><a href='{{ post.url }}'>{{ post.title }}</a></h1>
10 <p class='meta'>
11 Posted by <a href='{{ post.author_url }}'>{{ post.author }}</a>
12 on <strong>{{ post.publish_date }}</strong>
afe7bf9 @rtomayko Tweak blog template and tidy up first post
rtomayko authored
13 <a href='{{ post.url }}' title='Post permalink'>#</a>
54fc13a @rtomayko Add blog and a couple of sample posts
rtomayko authored
14 </p>
afe7bf9 @rtomayko Tweak blog template and tidy up first post
rtomayko authored
15 {{ post.content }}
54fc13a @rtomayko Add blog and a couple of sample posts
rtomayko authored
16 </div>
17 {% endfor %}
Something went wrong with that request. Please try again.