Files: 8237f9ca032f15f6d03813596867e55ddd2b094d / _layouts / post.html
821 bytesRaw
1 | --- |
2 | layout: default |
3 | --- |
4 | |
5 | {% if page.include_toc %} |
6 | {% include toc.html %} |
7 | {% endif %} |
8 | |
9 | <div class="post"> |
10 | <h1 class="post-title">{{ page.title }}</h1> |
11 | <span class="post-date">{{ page.date | date_to_string }}</span> |
12 | {{ content }} |
13 | </div> |
14 | |
15 | {% assign author = site.authors[page.author] %} |
16 | {% if author %} |
17 | <div class="author"> |
18 | <div style="margin-bottom:10px; font-style:italic">Mengenai penulis</div> |
19 | {% include author.html %} |
20 | </div> |
21 | {% endif %} |
22 | |
23 | <div class="related"> |
24 | <h2>Artikel Berkaitan</h2> |
25 | <ul class="related-posts"> |
26 | {% for post in site.related_posts limit:3 %} |
27 | <li> |
28 | <h3> |
29 | <a href="{{ site.baseurl }}{{ post.url }}"> |
30 | {{ post.title }} |
31 | <small>{{ post.date | date_to_string }}</small> |
32 | </a> |
33 | </h3> |
34 | </li> |
35 | {% endfor %} |
36 | </ul> |
37 | </div> |
38 |
Built with git-ssb-web