From 2940446f6670ef47fdbcda2304356ef7c5827d44 Mon Sep 17 00:00:00 2001 From: itsfinniii <102350242+itsfinniii@users.noreply.github.com> Date: Thu, 26 Mar 2026 22:25:34 +0100 Subject: [PATCH] Only show last projects component if projects are enabled on the website, otherwise don't render anything --- astro/src/components/web/LastProjects.astro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/astro/src/components/web/LastProjects.astro b/astro/src/components/web/LastProjects.astro index 6977253..c9b62e0 100644 --- a/astro/src/components/web/LastProjects.astro +++ b/astro/src/components/web/LastProjects.astro @@ -27,6 +27,7 @@ const size = calculateSizeClasses(projects.amount, lastProjects.length); console.log(lastProjects[0].searchEngine); --- +{ settings.project.enabled && (
+) } + \ No newline at end of file