FIX: Do not add `"tag-"` class to pages with no tag filter (#25677)

This commit is contained in:
David Taylor 2024-02-14 10:24:02 +00:00 committed by GitHub
parent 02177bb46d
commit 915f7cdb27
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,7 @@
<AddCategoryTagClasses @category={{@category}} @tags={{array @tag.id}} />
<AddCategoryTagClasses
@category={{@category}}
@tags={{if @tag (array @tag.id)}}
/>
{{#if @category}}
<PluginOutlet