From 1131349487c1e959c412a2887d6f9c00cf528e20 Mon Sep 17 00:00:00 2001
From: recanman <29310982+recanman@users.noreply.github.com>
Date: Wed, 3 Jul 2024 15:02:11 -0700
Subject: [PATCH] fix: get safeURL to work
---
layouts/partials/bottom_nav_icons.html | 4 +++-
layouts/partials/nav_links.html | 4 +++-
layouts/partials/right_icons.html | 5 ++++-
3 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/layouts/partials/bottom_nav_icons.html b/layouts/partials/bottom_nav_icons.html
index 138e367..861ea20 100644
--- a/layouts/partials/bottom_nav_icons.html
+++ b/layouts/partials/bottom_nav_icons.html
@@ -1,6 +1,8 @@
{{ with .Site.Params.bottom_nav_icons }}
{{ range . }}
-
+
+ {{ $link := .link }}
+
{{ end }}
diff --git a/layouts/partials/nav_links.html b/layouts/partials/nav_links.html
index 7f54328..7e3af65 100644
--- a/layouts/partials/nav_links.html
+++ b/layouts/partials/nav_links.html
@@ -1,5 +1,7 @@
{{ with .Site.Params.nav_links }}
{{ range . }}
- {{ .title }}
+
+ {{ $link := .link }}
+ {{ .title }}
{{ end }}
{{ end }}
\ No newline at end of file
diff --git a/layouts/partials/right_icons.html b/layouts/partials/right_icons.html
index 3200894..e27d4b4 100644
--- a/layouts/partials/right_icons.html
+++ b/layouts/partials/right_icons.html
@@ -1,7 +1,10 @@
{{ with .Site.Params.right_icons }}
{{ range . }}
{{ $target := cond .external "_blank" "_self" }}
-
+
+
+ {{ $link := .link }}
+
{{ end }}