git ssb

0+

k4ml / belajar-js



Tree: 718ba19bb3eb95a349fb466e00a1d666b0949ee6

Files: 718ba19bb3eb95a349fb466e00a1d666b0949ee6 / index.html

1324 bytesRaw
1---
2layout: default
3title: 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
18 {% assign author = site.authors[post.author] %}
19 {% if author %}
20 <span> oleh <a href="/authors/{{ post.author }}.html">{{ author.name }}</a></span>
21 {% endif %}
22 </span>
23
24 <p>
25 {{ post.excerpt : | remove: '<p>' | remove: '</p>' }}<span>&#8230; <a href="{{ site.baseurl}}{{ post.url }}">(artikel penuh)</a></span>
26 </p>
27
28 </div>
29 {% endfor %}
30</div>
31
32<div class="pagination">
33 {% if paginator.next_page %}
34 <a class="pagination-item older" href="{{ site.baseurl }}/page{{paginator.next_page}}">&laquo;</a>
35 {% else %}
36 <span class="pagination-item older">&laquo;</span>
37 {% endif %}
38 {% if paginator.previous_page %}
39 {% if paginator.page == 2 %}
40 <a class="pagination-item newer" href="{{ site.baseurl }}/">&raquo;</a>
41 {% else %}
42 <a class="pagination-item newer" href="{{ site.baseurl }}/page{{paginator.previous_page}}">&raquo;</a>
43 {% endif %}
44 {% else %}
45 <span class="pagination-item newer">&raquo;</span>
46 {% endif %}
47</div>
48

Built with git-ssb-web