Skip to content

Commit

Permalink
anew
Browse files Browse the repository at this point in the history
  • Loading branch information
utksi committed Jan 16, 2025
1 parent a25dd63 commit 2132a02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ rss_icon: true
# -----------------------------------------------------------------------------

navbar_fixed: true
footer_fixed: true
footer_fixed: false
search_enabled: true
socials_in_search: true
bib_search: true
Expand Down
3 changes: 2 additions & 1 deletion _scripts/search.liquid.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ ninja.data = [
window.location.href = "{{ '/' | relative_url }}";
},
},
{%- assign sorted_pages = site.pages | sort: "nav_order" -%}
{%- assign sorted_pages = site.pages | where:"nav",true | sort: "nav_order" -%}
// somehow this doesn't exclude nav: false pages {%- assign sorted_pages = site.pages | sort: "nav_order" -%}
{%- for p in sorted_pages -%}
{%- if p.nav and p.autogen == null -%}
{%- if p.dropdown -%}
Expand Down

0 comments on commit 2132a02

Please sign in to comment.