Skip to content

Commit

Permalink
exclude single page case that is the index
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault committed Apr 23, 2024
1 parent fc3f645 commit 0b16900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/list-pages.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% if site.pages %}
{% if len([item for item in site.pages if item.name not in ['index.md', 'index.html', 'README.md']) %}
<h2>Pages</h2>
{% endif %}

Expand Down

0 comments on commit 0b16900

Please sign in to comment.