Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sidebar navigation bug #658

Merged
merged 1 commit into from Nov 12, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/_includes/side_nav.html
@@ -1,7 +1,7 @@
<div id="api_sections">

{% comment %}https://github.com/pages-themes/primer/issues/15{% endcomment %}
{% assign sorted_pages = site.pages | where_exp:"page", "page.name != 'style.scss'" | where_exp: "page", "page.layout != 'redirect'" | sort:"order" %}
{% assign sorted_pages = site.pages | where_exp:"page", "page.name != 'style.scss'" | where_exp: "page", "page.name != 'redirects.json'" | where_exp: "page", "page.layout != 'redirect'" | sort:"order" %}

{% for node in sorted_pages %}
{% if node.hidden != true %}
Expand Down