Skip to content

Commit 797afca

Browse files
committed
fixup! list-of-extensions: limit to pages with categories
1 parent a342f94 commit 797afca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_pages/list-of-extensions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ function toggleAllCategories(checked) {
120120
<ul id="list-of-extensions">
121121
{%- for p in site.pages -%}
122122
{%- comment -%} Only pages declaring categories are listed. {%- endcomment -%}
123-
{%- unless p.categories -%} {%- continue -%} {%- endunless -%}
123+
{%- unless p.categories.size > 0 -%} {%- continue -%} {%- endunless -%}
124124
{%- assign classes = "" -%}
125125
{%- for category in p.categories -%}
126126
{%- assign c = category | slugify -%}

0 commit comments

Comments
 (0)