Files: df73fec7880bcc5227100be808402a1629d6e059 / _includes / sidebar.html
1525 bytesRaw
1 | <div class="sidebar"> |
2 | <div class="container sidebar-sticky"> |
3 | <div class="sidebar-about"> |
4 | <h1> |
5 | <a href="{{ site.baseurl }}/index.html"> |
6 | {{ site.title }} |
7 | </a> |
8 | </h1> |
9 | <p class="lead">{{ site.description }}</p> |
10 | </div> |
11 | |
12 | <nav class="sidebar-nav"> |
13 | <a class="sidebar-nav-item{% if page.url == "/index.html" %} active{% endif %}" href="{{ site.baseurl }}/index.html">Utama</a> |
14 | |
15 | {% comment %} |
16 | The code below dynamically generates a sidebar nav of pages with |
17 | `layout: page` in the front-matter. See readme for usage. |
18 | {% endcomment %} |
19 | |
20 | {% assign pages_list = site.pages %} |
21 | {% for node in pages_list %} |
22 | {% if node.title != null %} |
23 | {% if node.layout == "page" %} |
24 | <a class="sidebar-nav-item{% if page.url == node.url %} active{% endif %}" href="{{ site.baseurl }}{{ node.url }}">{{ node.title }}</a> |
25 | {% endif %} |
26 | {% endif %} |
27 | {% endfor %} |
28 | |
29 | <a class="sidebar-nav-item" href="http://github.com/k4ml/belajarjs">GitHub</a> |
30 | <a class="sidebar-nav-item" href="{{ site.baseurl }}/atom.xml">Atom Feed <i class="fa fa-rss-square"></i></a> |
31 | <!-- <span class="sidebar-nav-item">Currently v{{ site.version }}</span> --> |
32 | </nav> |
33 | |
34 | <p style="font-size:70%">Melainkan dinyatakan sebaliknya, kesemua kandungan dalam laman ini dilesenkan di bawah <a href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International</a>.</p> |
35 | </div> |
36 | </div> |
37 |
Built with git-ssb-web