Skip to content

Commit 40b9346

Browse files
committed
[Site] Hide Toolkit from packages list
I prefer this solution over commenting Toolkit package from UxPackageRepository, because this way we can still secretly access the Toolkit-related pages.
1 parent ff9fd53 commit 40b9346

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ux.symfony.com/templates/main/packages.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<div class="container-fluid container-xxl px-4 pt-4 px-md-5">
1818
{% block list %}
1919
<div style="display: grid; gap: 3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));">
20-
{% for package in packages %}
20+
{% for package in packages|filter(p => p.name != 'toolkit') %}
2121
<twig:Package:PackageBox package="{{ package }}" titleTag="h2" />
2222
{% endfor %}
2323
</div>

0 commit comments

Comments
 (0)