diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-08-23 18:22:57 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-08-23 18:22:57 +0300 |
commit | beb4bb045d0224ed8382fea5eb26a50813ea2a5b (patch) | |
tree | ea324ec0abe1fa2b03d79037513dc8780b5c903f | |
parent | bump dependencies (diff) | |
download | sorting-algorithms-beb4bb045d0224ed8382fea5eb26a50813ea2a5b.tar.gz sorting-algorithms-beb4bb045d0224ed8382fea5eb26a50813ea2a5b.zip |
add icons to the navbar
Diffstat (limited to '')
-rw-r--r-- | _includes/links.html | 4 | ||||
-rw-r--r-- | index.html | 3 | ||||
-rw-r--r-- | plots.html | 1 |
3 files changed, 5 insertions, 3 deletions
diff --git a/_includes/links.html b/_includes/links.html index 70e643b..ddab348 100644 --- a/_includes/links.html +++ b/_includes/links.html @@ -1,9 +1,9 @@ {% for node in page_list %} {% if group == null or group == node.group %} {% if page.url == node.url %} - <li class="active"><a href="{{ site.baseurl }}{{ node.url }}" class="active">{{ node.title }}</a></li> + <li class="active"><a href="{{ site.baseurl }}{{ node.url }}" class="active">{{ node.navbar_link }}</a></li> {% else %} - <li><a href="{{ site.baseurl }}{{ node.url }}">{{ node.title }}</a></li> + <li><a href="{{ site.baseurl }}{{ node.url }}">{{ node.navbar_link }}</a></li> {% endif %} {% endif %} {% endfor %} @@ -1,7 +1,8 @@ --- -title: Sorting algorithms +title: Main page layout: main group: "navigation" +navbar_link: <span class="glyphicon glyphicon-home"></span> Main page --- {% if site.posts.size == 0 %} <h3>Sorry, there're no posts yet.</h3> @@ -2,6 +2,7 @@ title: Plots layout: plots group: "navigation" +navbar_link: <span class="glyphicon glyphicon-th-large"></span> Plots --- <h1>Plots</h1> |