Files: 8e3b54b109fe9d68b6d38efd757f80a8f39b9279 / _layouts / post.html
870 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 | |
12 | <div class="post-date">{{ page.date | date_to_string }}{% include level.html %}</div> |
13 | {{ content }} |
14 | </div> |
15 | |
16 | {% assign author = site.authors[page.author] %} |
17 | {% if author %} |
18 | <div class="author"> |
19 | <div style="margin-bottom:10px; font-style:italic">Mengenai penulis</div> |
20 | {% include author.html %} |
21 | </div> |
22 | {% endif %} |
23 | |
24 | <div class="related"> |
25 | <h2>Artikel Berkaitan</h2> |
26 | <ul class="related-posts"> |
27 | {% for post in site.related_posts limit:3 %} |
28 | <li> |
29 | <h3> |
30 | <a href="{{ site.baseurl }}{{ post.url }}"> |
31 | {{ post.title }} |
32 | <small>{{ post.date | date_to_string }}</small> |
33 | </a> |
34 | </h3> |
35 | </li> |
36 | {% endfor %} |
37 | </ul> |
38 | </div> |
39 | |
40 | {% include disqus.html %} |
Built with git-ssb-web