aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/links.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-05-06 06:17:59 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-05-06 06:17:59 +0300
commit4e11e6d5364a12650b9a139495bd5a73943ae56a (patch)
tree061edcaa62c6b7f65f80109c42b2181840a89250 /_includes/links.html
downloadsorting-algorithms-4e11e6d5364a12650b9a139495bd5a73943ae56a.tar.gz
sorting-algorithms-4e11e6d5364a12650b9a139495bd5a73943ae56a.zip
initial commit
Diffstat (limited to '')
-rw-r--r--_includes/links.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/_includes/links.html b/_includes/links.html
new file mode 100644
index 0000000..70e643b
--- /dev/null
+++ b/_includes/links.html
@@ -0,0 +1,11 @@
+{% 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>
+ {% else %}
+ <li><a href="{{ site.baseurl }}{{ node.url }}">{{ node.title }}</a></li>
+ {% endif %}
+ {% endif %}
+{% endfor %}
+{% assign page_list = nil %}
+{% assign group = nil %}