Skip to content

Commit

Permalink
[UPD] footer
Browse files Browse the repository at this point in the history
  • Loading branch information
Viglino committed Jul 10, 2024
1 parent 1ff71c9 commit 699176c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _includes/footer_custom.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@
{%- endfor -%}

{%- if page.parent -%}
{%- assign children_pages = sorted_pages
{%- assign children_pages = sorted_pages_site
| where: "parent", page.parent
| where_exp: "item", "item.title != nil"
| where_exp: "item", "item.nav_exclude != true" -%}

{%- assign prev_page = curent_root -%}

<div style="display: none;">
{%- for item in sorted_pages -%}
{%- for item in children_pages -%}
{{ item.title }}
{%- if item.parent == page.parent -%}
{%- if item.url == page.url -%}
Expand Down

0 comments on commit 699176c

Please sign in to comment.