From e66df526ca272dd3db9f78e1cd1abac951fe02b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20=C4=8Cech?= Date: Mon, 18 Aug 2025 19:36:44 +0200 Subject: [PATCH] DP-3170 Failing builds quick fix --- layouts/partials/sidebar-tree.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/partials/sidebar-tree.html b/layouts/partials/sidebar-tree.html index f99a518..97b5146 100644 --- a/layouts/partials/sidebar-tree.html +++ b/layouts/partials/sidebar-tree.html @@ -13,8 +13,10 @@ {{ else }} {{ $root = .FirstSection }} {{ end }} +{{ if $root }} {{ template "root-link" (dict "currentPage" . "root" $root "site" .Site) }} {{ template "section-tree-nav-sections" (dict "root" $root.CurrentSection.Pages "currentPage" . "site" .Site) }} +{{ end }} {{ if $additionalNavRoot }} {{ template "section-tree-nav-sections" (dict "root" $additionalNavRoot.CurrentSection.Pages "currentPage" . "site" .Site) }} {{ end }}