forked from loverajoel/jstips
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
27 lines (26 loc) · 1 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
---
layout: default
lang: en
---
<div id="posts-wrapper-home">
<div class="posts">
{% assign posts=paginator.posts | where:"lang", "en" %}
{% for post in posts %}
<article class="post">
<h1 class="post-title">
<a href="{{ site.baseurl }}{{ post.url }}">
<span class="tip-number">{{ post.tip-number }}</span>
<span class="title">{{ post.title | markdownify}}</span>
</a>
</h1>
<div class="meta-info">
<time class="date meta-item" datetime="{{ post.date }}"><i class="fa fa-calendar"></i> {{ post.date | date_to_string }}</time>
<div class="contributor meta-item"><i class="fa fa-user"></i><a href="{{ post.tip-username-profile }}" target="_blank"> @{{ post.tip-username }}</a></div>
</div>
<div class="entry">
{{ post.tip-tldr | markdownify }}
</div>
</article>
{% endfor %}
</div>
</div>