forked from id-ruby/id-ruby.github.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
34 lines (34 loc) · 918 Bytes
/
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
---
title: Indonesian Ruby User Group
layout: default
---
{% for post in paginator.posts %}
<article class="post">
<header class="prime">
<h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
<ul class="post-meta">
<li><a href="{{ post.url }}">{{ post.date || date_to_string }}</a></li>
<li><a href="{{ post.url }}">By {{ post.author }}</a></li>
</ul>
</header>
<div class="post-preview">
{% if post.image %}
{% assign preview_class = "with-image" %}
<div class="image-post">
<img src="{{ post.image }}">
</div>
{% endif %}
{% if post.excerpt %}
<p>
{{ post.excerpt }}
</p>
{% else %}
{{ post.content }}
{% endif %}
{% if post.excerpt %}
<a class="more" href="{{ post.url }}">Read more</a>
{% endif %}
</div>
</article>
{% endfor %}
{% include pagination.html %}