chore: limit in badge grid component
This commit is contained in:
parent
5440b89c20
commit
43247423ea
3 changed files with 4 additions and 4 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "20.0.3",
|
"version": "20.0.4",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "20.0.3",
|
"version": "20.0.4",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@cdransf/api-text": "^1.4.0",
|
"@cdransf/api-text": "^1.4.0",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "20.0.3",
|
"version": "20.0.4",
|
||||||
"description": "The source for my personal site. Built using 11ty.",
|
"description": "The source for my personal site. Built using 11ty.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<div class="badge-grid">
|
<div class="badge-grid">
|
||||||
{% for badge in badges %}
|
{% for badge in badges limit: 8 %}
|
||||||
<a href="{{ badge.url }}">
|
<a href="{{ badge.url }}">
|
||||||
<img srcset="
|
<img srcset="
|
||||||
https://cdn.coryd.dev/{{ badge.image }}?class=w50 50w,
|
https://cdn.coryd.dev/{{ badge.image }}?class=w50 50w,
|
||||||
|
|
Reference in a new issue