diff --git a/layouts/partials/widget/cloud.html b/layouts/partials/widget/cloud.html
index 2bf0b2d..c12123a 100644
--- a/layouts/partials/widget/cloud.html
+++ b/layouts/partials/widget/cloud.html
@@ -1,15 +1,15 @@
- {{ $parentLink := ($.Params.Site.GetPage (printf "/%s" .ident)).Permalink }}
- {{ $maxCnt := mul 1.0 (index .tax.ByCount 0).Count }}
- {{ $minCnt := mul 1.0 (index .tax.ByCount.Reverse 0).Count }}
- {{ $div := math.Max 1 (sub $maxCnt $minCnt) }}
- {{ range $key, $sites := .tax }}
-
- {{- (printf `
%s%d`
- (add (mul (math.Pow (div (sub $sites.Count $minCnt) $div) 2.0) 0.6) 0.8)
- ((printf "%s%s" $parentLink $key) | relURL) $key $sites.Count $key $sites.Count
- ) | safeHTML -}}
-
- {{ end }}
+ {{ $parentLink := (site.GetPage (printf "/%s" .ident)).Permalink }}
+ {{ $maxCnt := mul 1.0 (index .tax.ByCount 0).Count }}
+ {{ $minCnt := mul 1.0 (index .tax.ByCount.Reverse 0).Count }}
+ {{ $div := math.Max 1 (sub $maxCnt $minCnt) }}
+ {{ range $key, $sites := .tax }}
+
+ {{- (printf `
%s%d`
+ (add (mul (math.Pow (div (sub $sites.Count $minCnt) $div) 2.0) 0.6) 0.8)
+ ((printf "%s%s" $parentLink $key) | relURL) $key $sites.Count $key $sites.Count
+ ) | safeHTML -}}
+
+ {{ end }}
{{/* https://mertbakir.gitlab.io/hugo/tag-cloud-in-hugo/ */}}
diff --git a/layouts/partials/widget/taglist.html b/layouts/partials/widget/taglist.html
index 8ae925f..f32ca3e 100644
--- a/layouts/partials/widget/taglist.html
+++ b/layouts/partials/widget/taglist.html
@@ -1,9 +1,9 @@
- {{ $parentLink := ($.Params.Site.GetPage (printf "/%s" .ident)).Permalink }}
- {{ range $key, $sites := .tax }}
-
- {{ end }}
-
+ {{ $parentLink := (site.GetPage (printf "/%s" .ident)).Permalink }}
+ {{ range $key, $sites := .tax }}
+
+ {{ end }}
+