diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-05-06 06:17:59 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-05-06 06:17:59 +0300 |
commit | 4e11e6d5364a12650b9a139495bd5a73943ae56a (patch) | |
tree | 061edcaa62c6b7f65f80109c42b2181840a89250 /_includes/links.html | |
download | sorting-algorithms-4e11e6d5364a12650b9a139495bd5a73943ae56a.tar.gz sorting-algorithms-4e11e6d5364a12650b9a139495bd5a73943ae56a.zip |
initial commit
Diffstat (limited to '_includes/links.html')
-rw-r--r-- | _includes/links.html | 11 |
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 %} |