Skip to content

Commit

Permalink
chore(site): fix grid renders extra items + label fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ala-n committed Dec 24, 2024
1 parent 337c9e2 commit caebc06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion site/views/_includes/navigation/collection-grid.njk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<link href="https://fonts.googleapis.com/css2?family=Ubuntu:wght@500&display=swap" rel="stylesheet">

<ul class="collection-grid unstyled-list {{ 'collection-grid-column' if options.isList }} {{ options.classes or ''}}">
{% for item in collections[collection] | released | exclude('data.hidden') | sortBy('order', 'name') %}
{% for item in collections[collection] | released | exclude('data.hidden') | exclude('data.parent') | sortBy('order', 'name') %}
{% set badgeAllowed = not options.noBadge %}
{% set isDraft = badgeAllowed and [].concat(item.data.tags).includes('draft') %}
{% set isBeta = badgeAllowed and [].concat(item.data.tags).includes('beta') %}
Expand Down
4 changes: 2 additions & 2 deletions site/views/components/index.njk
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: collection-grid
title: Components List
title: Components
seoTitle: Components List of Exadel Smart Library (ESL)
name: All
name: Components List
order: 3
collection: components
tags: [nav]
Expand Down

0 comments on commit caebc06

Please sign in to comment.