Skip to content

Commit

Permalink
change logic for detecting models
Browse files Browse the repository at this point in the history
Signed-off-by: vishalvivekm <[email protected]>
  • Loading branch information
vishalvivekm committed Jan 13, 2025
1 parent a1732c5 commit 6e43633
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions collections/_pages/catalog.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,19 @@ <h2 class="not-found" style="display: none;" id="not-found">
<!-- modal included -->
{% include modal.html %} {% include card-modal.html %}
</div>
{% elsif pattern.componentsCount %}
<div
class="column column-lg patternCard modelCard"
filter="{{ pattern.name }}"
type="model"
patternType="models"
technology=''
style="display: {% if count < 10 %}block{% else %}none{% endif %};"
>
{% include models/card.html model=pattern %}
<!-- modal included -->
{% include models/modal.html model=pattern %} {% include models/card-modal.html %}
</div>
{% elsif pattern.patternInfo and pattern.Status == "ComingSoon" %}
{% assign last = pattern.compatibility | last %}
<div
Expand Down

0 comments on commit 6e43633

Please sign in to comment.