fix: people widget

Fix v4.2.2
Fix #1037
This commit is contained in:
Dongdong Tian authored and gcushen committed 2019-04-19 00:33:07 +01:00
1 parent 605fc4dd91
commit 00aada46d2
1 file changed
+1 -1
+1 -1
View File
@@ -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 }}
<div class="col-12 col-sm-auto people-person">