diff options
author | Valentin Popov <valentineus@gmail.com> | 2018-04-04 02:11:34 +0300 |
---|---|---|
committer | Valentin Popov <valentineus@gmail.com> | 2018-04-04 02:11:34 +0300 |
commit | 340f12d839bbb221d56e66db5539bda6311bf5bf (patch) | |
tree | 0c2d17dad96375aefef7e1b1883fb22da55b5915 /_includes | |
parent | cf2658dd1a52a2bdcf21f79f82fcc89d66d0467a (diff) | |
download | popov.link-340f12d839bbb221d56e66db5539bda6311bf5bf.tar.xz popov.link-340f12d839bbb221d56e66db5539bda6311bf5bf.zip |
Fixed cycle
Signed-off-by: Valentin Popov <valentineus@gmail.com>
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/sidebar.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/_includes/sidebar.html b/_includes/sidebar.html index 3438fc8..97b5d4f 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -22,8 +22,7 @@ <!-- Navigation --> <nav class="sidebar-nav"> - <a class="sidebar-nav-item {% if page.id == "index" %}active{% endif %}" href="{{ site.baseurl | uri_escape }}">Домашняя страница</a> - {% for node in site.pages %} + {% for node in site.pages reversed %} {% if node.sidebar == true %} <a class="sidebar-nav-item {% if page.url == node.url %}active{% endif %}" href="{{ node.url | relative_url | uri_escape }}"> {{ node.title | smartify | strip_html | normalize_whitespace }} |