diff --git a/layouts/partials/widgets/people.html b/layouts/partials/widgets/people.html index 7b00d5cf..6aa51082 100644 --- a/layouts/partials/widgets/people.html +++ b/layouts/partials/widgets/people.html @@ -26,7 +26,7 @@ {{ $avatar := (.Resources.ByType "image").GetMatch "*avatar*" }} {{/* Get link to user's profile page. */}} {{ $link := "" }} - {{ with site.GetPage (printf "/authors/%s" (path.Base (path.Split .Path).File.Dir)) }} + {{ with site.GetPage (printf "/authors/%s" (path.Base (path.Split .Path).Dir)) }} {{ $link = .RelPermalink }} {{ end }}