git ssb

0+

k4ml / belajar-js



Tree: 5cc4053155e501cbdfaaa8bc3cc5793ee5bd1b85

Files: 5cc4053155e501cbdfaaa8bc3cc5793ee5bd1b85 / _includes / sidebar.html

1597 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://www.mydev.my/">MyDev</a>
30 <a class="sidebar-nav-item" href="http://github.com/k4ml/belajarjs">GitHub</a>
31 <a class="sidebar-nav-item" href="{{ site.baseurl }}/atom.xml">Atom Feed &nbsp;<i class="fa fa-rss-square"></i></a>
32 <!-- <span class="sidebar-nav-item">Currently v{{ site.version }}</span> -->
33 </nav>
34
35 <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>
36 </div>
37</div>
38

Built with git-ssb-web