From 21e3af1693cacc0c235aa15cf0e66fdbca206a41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Iv=C3=A1n?= <150823069+arandanos80@users.noreply.github.com>
Date: Mon, 2 Dec 2024 13:54:31 +0100
Subject: [PATCH] Update index.html
---
docs/index.html | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git a/docs/index.html b/docs/index.html
index 86c66ce..f60d8d4 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -8,16 +8,11 @@
¡Consejos Útiles para developers!
{% assign tips = site.pages | where: "path", "Tips" %}
{% assign sorted_tips = tips | sort: "title" %}
-
- {% assign sorted_list = "" %}
- {% for tip in tips %}
- {% assign tip_number = tip.title | remove: "tip" | plus: 0 %}
- {% assign sorted_list = sorted_list | push: { "number": tip_number, "tip": tip } %}
- {% endfor %}
-
- {% assign sorted_list = sorted_list | sort: "number" %}
- {% for item in sorted_list %}
- - {{ item.tip.title }}
+
+ {% for tip in sorted_tips %}
+ {% if tip.path contains 'Tips' %}
+ - {{ tip.title }}
+ {% endif %}
{% endfor %}