fix component section in alpha

This commit is contained in:
Cory LaViska
2024-12-20 10:07:27 -05:00
parent b38568f5c5
commit 562fec9ac7

View File

@@ -29,7 +29,7 @@
<ul>
{% for component in collections.component | sort %}
{% if not component.data.parent and not (isAlpha and component.data.isAlpha) %}
{% if not component.data.parent and not (isAlpha and component.data.noAlpha) %}
<li>
<a href="/docs/components/{{ component.fileSlug }}">{{ component.data.title }}</a>
@@ -37,7 +37,7 @@
{% if component.data.isPro %}<wa-badge class="pro">PRO</wa-badge>{% endif %}
<ul>
{% for child in collections.component | sort %}
{% if child.data.parent == component.fileSlug and not (isAlpha and child.data.isAlpha) %}
{% if child.data.parent == component.fileSlug and not (isAlpha and child.data.noAlpha) %}
<li>
<a href="/docs/components/{{ child.fileSlug }}">{{ child.data.title }}</a>
</li>