forked from phpid-jakarta/phpid-jakarta.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
55 lines (44 loc) · 1.3 KB
/
index.html
File metadata and controls
55 lines (44 loc) · 1.3 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
layout: home
---
<div class="slider">
{% for slider in site.data.slider %}
<img class="slider__item" src="{{ slider.src }}">
{% endfor %}
</div>
<div class="home">
{% assign sorted = (paginator.posts | sort: 'date' | reverse) %}
{% for post in sorted %}
<article class="post--card">
<span class="post__meta">
<i class="ion-calendar"></i> {{ post.date | date: "%b %-d, %Y" }}
</span>
{% if post.author %}
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
<span itemprop="name" class="post__meta">
<i class="ion-person"></i>
{{ post.author }}
</span>
</span>
{% endif %}
{% if page.comments != false and jekyll.environment == "production" %}
<a class="post__meta" href="{{site.baseurl}}{{ post.url }}#disqus_thread">
<i class="ion-chatbubbles"></i>
0 Komentar
</a>
{% endif %}
<h2>
<a class="post__link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
</h2>
<div class="post-content">
{{ post.excerpt }}
<p class="right">
<a href="{{site.baseurl}}{{ post.url }}" class="post__more">
Read More
</a>
</p>
</div>
</article>
{% endfor %}
{% include paginator.html %}
</div>