Skip to content

Commit dc0d105

Browse files
committed
fix: correct global site context access for the home page link in the sidebar
1 parent 33b7de9 commit dc0d105

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

layouts/_partials/sidebar/left.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{{ with .Site.Params.sidebar.avatar }}
1010
{{- $avatar := partial "helper/image" (dict "Image" . "Resources" resources) -}}
1111
<figure class="site-avatar">
12-
<a href="{{ .Site.Home.RelPermalink }}">
12+
<a href="{{ $.Site.Home.RelPermalink }}">
1313
<img src="{{ $avatar.Permalink }}"
1414
width="{{ $avatar.Width }}"
1515
height="{{ $avatar.Height }}"

0 commit comments

Comments
 (0)