aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--_includes/links.html4
-rw-r--r--index.html3
2 files changed, 4 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 %}
diff --git a/index.html b/index.html
index 3d525ab..c5d7dbc 100644
--- a/index.html
+++ b/index.html
@@ -1,7 +1,8 @@
---
-title: C++ tips
+title: Main page
layout: main
group: "navigation"
+navbar_link: <span class="glyphicon glyphicon-home"></span>&nbsp;Main page
---
{% if site.posts.size == 0 %}
<h3>Sorry, there're no posts yet.</h3>