Skip to content

Commit

Permalink
Update toc.html
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkeinecke authored Jul 24, 2018
1 parent 0a1552f commit 86eb932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{% assign sorted_pages = site.pages | sort:"path" %}
{% for page in sorted_pages %}
{% if page.path != originPagePath %}
{% if page.path contains pagePath %}
{% if page.path contains pagePath and page.path contains "/index.md" %}
{% assign pagePathParts = page.path | split: "/" %}
{% assign size = pagePathParts.size | minus: 1 %}
{% if size <= originSize %}
Expand Down

0 comments on commit 86eb932

Please sign in to comment.