2
2
< div class ="container sidebar-sticky ">
3
3
< div class ="sidebar-about ">
4
4
< h1 >
5
- < a href ="{{ site.baseurl }} ">
5
+ < a href ="/ ">
6
6
{{ site.title }}
7
7
</ a >
8
8
</ h1 >
9
9
< p class ="lead "> {{ site.description }}</ p >
10
10
</ div >
11
11
12
12
< nav class ="sidebar-nav ">
13
- < a class ="sidebar-nav-item{% if page.url == site.baseurl %} active{% endif %} " href ="{{ site.baseurl }} "> Home</ a >
13
+ < a class ="sidebar-nav-item{% if page.url == site.baseurl %} active{% endif %} " href ="/ "> Home</ a >
14
+ {% comment %} The code below dynamically generates a sidebar nav of pages with `layout: page` in the front-matter.
15
+ See readme
16
+ for usage. {% endcomment %} {% assign pages_list = site.pages | sort:"weight" %} {% for node in pages_list %}
17
+ {% if node.title != null %} {% if node.showInNav == true %}
18
+ < a class ="sidebar-nav-item{% if page.url == node.url %} active{% endif %} "
19
+ href ="{{ node.url }} "> {{ node.title }}</ a > {% endif %} {% endif %} {% endfor %}
20
+ </ nav >
21
+ < a href ="https://github.com/fdlane " target ="_blank "> < span
22
+ class ="icon icon--github "> {% include icon-github.svg %}</ span > </ a >
14
23
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 %}
24
+ < a href ="https://twitter.com/fdlane " target ="_blank "> < span
25
+ class ="icon icon--twitter "> {% include icon-twitter.svg %}</ span > </ a >
19
26
20
- {% assign pages_list = site.pages | sort:"weight" %}
21
- {% for node in pages_list %}
22
- {% if node.title != null %}
23
- {% if node.showInNav == true %}
24
- < a class ="sidebar-nav-item{% if page.url == node.url %} active{% endif %} " href ="{{ node.url }} "> {{ node.title }}</ a >
25
- {% endif %}
26
- {% endif %}
27
- {% endfor %}
28
- </ nav >
29
- < a href ="https://github.com/fdlane " target ="_blank "> < span class ="icon icon--github "> {% include icon-github.svg %}</ span > </ a >
30
-
31
- < a href ="https://twitter.com/fdlane " target ="_blank "> < span class ="icon icon--twitter "> {% include icon-twitter.svg %}</ span > </ a >
32
-
33
27
</ div >
34
- </ div >
28
+ </ div >
0 commit comments