forked from fzaninotto/fzaninotto.github.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
37 lines (31 loc) · 1.14 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
layout: default
title: Redo The Web - François Zaninotto's blog
---
<div id="home">
<h1>Latest entries</h1>
<ul class="posts">
{% for post in site.posts limit:4 %}
{% if post.image != null %}
<img src="{{ post.image }}" class="postImage"/>
{% endif %}
<h2 style="clear:left">
<a href="{{ post.url }}">{{ post.title }}</a> <span>{{ post.date | date_to_string }}</span>
</h2>
<p>
{{ post.excerpt }}
<a href="{{ post.url }}">Read more »</a>
</p>
<div class="rest">
<a href="https://twitter.com/share" class="twitter-share-button" data-text="{{ post.title }} - Redo The Web" data-url="http://redotheweb.com{{ post.url }}" data-via="francoisz">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
{% endfor %}
</ul>
<h1>Older posts</h1>
<ul class="posts">
{% for post in site.posts offset:4 %}
<li><span>{{ post.date | date_to_string }}</span> » <a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
</div>