Files: 8cad948161d641b1e328ef71a83bbef1f03c149d / index.html
1140 bytesRaw
1 | --- |
2 | layout: default |
3 | title: Home |
4 | --- |
5 | |
6 | <div class="posts"> |
7 | {% for post in paginator.posts %} |
8 | <div class="post"> |
9 | <h1 class="post-title"> |
10 | <a href="{{ site.baseurl}}{{ post.url }}"> |
11 | {{ post.title }} |
12 | </a> |
13 | </h1> |
14 | |
15 | <span class="post-date"> |
16 | Ditulis pada {{ post.date | date_to_string }} |
17 | </span> |
18 | |
19 | <p> |
20 | {{ post.excerpt : | remove: '<p>' | remove: '</p>' }}<span>… <a href="{{ site.baseurl}}{{ post.url }}">(artikel penuh)</a></span> |
21 | </p> |
22 | |
23 | </div> |
24 | {% endfor %} |
25 | </div> |
26 | |
27 | <div class="pagination"> |
28 | {% if paginator.next_page %} |
29 | <a class="pagination-item older" href="{{ site.baseurl }}/page{{paginator.next_page}}">«</a> |
30 | {% else %} |
31 | <span class="pagination-item older">«</span> |
32 | {% endif %} |
33 | {% if paginator.previous_page %} |
34 | {% if paginator.page == 2 %} |
35 | <a class="pagination-item newer" href="{{ site.baseurl }}/">»</a> |
36 | {% else %} |
37 | <a class="pagination-item newer" href="{{ site.baseurl }}/page{{paginator.previous_page}}">»</a> |
38 | {% endif %} |
39 | {% else %} |
40 | <span class="pagination-item newer">»</span> |
41 | {% endif %} |
42 | </div> |
43 |
Built with git-ssb-web