aboutsummaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
Diffstat (limited to '_includes')
-rw-r--r--_includes/sidebar.html3
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 }}