From 49947e9603a19bdb635de8006792bc380a4ae4cd Mon Sep 17 00:00:00 2001 From: weru Date: Fri, 3 Feb 2023 15:16:17 +0300 Subject: [PATCH 01/26] resolve caret icon correctly Signed-off-by: weru --- layouts/partials/nav.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index 6eb0158c..ef45b0ab 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -1,5 +1,6 @@ {{- $menu := .menu }} -{{ $menuData := .context.Site.Data.menu }} +{{- $iconsDir := default "icons/" site.Params.iconsDir }} +{{ $menuData := site.Data.menu }} {{- $link := .context.Permalink }} {{- $url := "" }} {{- $name := "" }} @@ -16,7 +17,7 @@ {{- $url = absLangURL .URL }} {{- end }}