From 803a5f20450e2769fdbe37589efdb9c7de169780 Mon Sep 17 00:00:00 2001
From: Ramiro Morales <ramiro@users.noreply.github.com>
Date: Fri, 03 May 2024 17:53:19 +0000
Subject: [PATCH] Fix render breakage introduced in #665 (#685)

---
 layouts/index.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/layouts/index.html b/layouts/index.html
index a02d79f..a45baf7 100755
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -44,7 +44,7 @@
         {{ end }}
 
         {{/* As above, Use $section_name to get the section title, and URL. Use "with" to only show it if it exists */}}
-        {{ with .Site.GetPage "section" $section_name }}
+        {{ with $.Site.GetPage "section" $section_name }}
           <a href="{{ .RelPermalink }}" class="link db f6 pa2 br3 bg-mid-gray white dim w4 tc">{{ i18n "allTitle" . }}</a>
         {{ end }}
         </section>

--
Gitblit v1.10.0