fix: space after author name when using link_authors

Fix dc0407a0e2
Fix #1356
This commit is contained in:
George Cushen committed 2019-09-25 11:12:57 +01:00
1 parent 8e9b045edb
commit 01189e8056
1 file changed
+2 -2
+2 -2
View File
@@ -8,8 +8,8 @@
{{- $name := $profile_page.Params.name | default ($value|markdownify) -}}
{{- if gt $index 0 }}, {{ end -}}
<span>
{{- with $profile_page -}}
{{ if $link_authors }}<a href="{{.RelPermalink}}">{{$name}}</a>{{else}}{{$name}}{{end}}
{{- if and $profile_page $link_authors -}}
<a href="{{$profile_page.RelPermalink}}">{{$name}}</a>
{{- else -}}
{{$name}}
{{- end -}}