From 8fc6f2e239569aa8f48a8b98e671c31248e1d955 Mon Sep 17 00:00:00 2001
From: Tenkuma <85490958+adrianvic@users.noreply.github.com>
Date: Sun, 16 Nov 2025 11:13:32 -0300
Subject: [PATCH] Update tutorials.md
---
tutorials/tutorials.md | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/tutorials/tutorials.md b/tutorials/tutorials.md
index fd9918a..7d19ab0 100644
--- a/tutorials/tutorials.md
+++ b/tutorials/tutorials.md
@@ -5,11 +5,12 @@ permalink: /tutorials/
## Listing Tutorials
-{% assign tutorials = site.pages | where_exp: "p", p.path contains "tutorials/" %}
+{% assign tutorials = site.pages | where_exp: "p", "p.path and p.path contains 'tutorials/'" %}
{% for t in tutorials %}
- {% if t.path != "tutorials/index.md" and t.path != "tutorials/README.md" and t.path != "tutorials.md" %}
+ {% assign p = t.path | default: "" %}
+ {% if p != "tutorials/index.md" and p != "tutorials/README.md" and p != "tutorials.md" %}
-
- {{ t.title | default: t.path | replace: "tutorials/", "" }}
+ {{ t.title | default: p | replace: "tutorials/", "" }}
{% if t.date %} — {% endif %}
{% endif %}