From 33fbda0e9d3e97c92af5d195be94e8eea8003239 Mon Sep 17 00:00:00 2001
From: Ramiro Morales <ramiro@users.noreply.github.com>
Date: Fri, 03 May 2024 17:43:35 +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 0aaf263..4b826a1 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -45,7 +45,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