From 3f58467a8a2643ea7b98f26e85c62cbd5a1d2d89 Mon Sep 17 00:00:00 2001 From: Che <43485962+c-git@users.noreply.github.com> Date: Sun, 29 May 2022 04:41:19 -0400 Subject: [PATCH] Change variable name to stop overwriting section - Section variable was being overwritten, appended _ to make name diff --- templates/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/index.html b/templates/index.html index a3aa55d..5f439d6 100644 --- a/templates/index.html +++ b/templates/index.html @@ -48,8 +48,8 @@
- {% set section = get_section(path="_index.md") %} - {% for p in section.subsections %} + {% set section_ = get_section(path="_index.md") %} + {% for p in section_.subsections %} {% set subsection = get_section(path=p) %}