From beb4bb045d0224ed8382fea5eb26a50813ea2a5b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 23 Aug 2015 18:22:57 +0300 Subject: add icons to the navbar --- _includes/links.html | 4 ++-- index.html | 3 ++- 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 %} -
  • {{ node.title }}
  • +
  • {{ node.navbar_link }}
  • {% else %} -
  • {{ node.title }}
  • +
  • {{ node.navbar_link }}
  • {% endif %} {% endif %} {% endfor %} diff --git a/index.html b/index.html index 7fddf85..a1aae21 100644 --- a/index.html +++ b/index.html @@ -1,7 +1,8 @@ --- -title: Sorting algorithms +title: Main page layout: main group: "navigation" +navbar_link:  Main page --- {% if site.posts.size == 0 %}

    Sorry, there're no posts yet.

    diff --git a/plots.html b/plots.html index 042a3e1..c0bac60 100644 --- a/plots.html +++ b/plots.html @@ -2,6 +2,7 @@ title: Plots layout: plots group: "navigation" +navbar_link:  Plots ---

    Plots

    -- cgit v1.2.3