Browse Source

Limit the number of icons displayed in the demo icons list

codecalm 1 month ago
parent
commit
2b42568ce7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/pages/_includes/cards/icons.html

+ 1 - 1
src/pages/_includes/cards/icons.html

@@ -12,7 +12,7 @@
 	<div class="card-body p-0">
 		<div class="demo-icons-list-wrap">
 			<div class="demo-icons-list">
-				{% for icon in icons %}
+				{% for icon in icons limit: limit %}
 				{% assign icon-name = icon[0] %}
 				{% if icon[1].svg[type] %}
 				<a href="https://tabler.io/icons/icon/{{ icon-name }}" target="_blank" rel="noopener" class="demo-icons-list-item" title="{{ icon-name }}" data-bs-toggle="tooltip" data-bs-placement="top">