mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 20:15:25 +00:00
fix: space after author name when using link_authors
Fix dc0407a0e2
Fix #1356
This commit is contained in:
1 parent
8e9b045edb
commit
01189e8056
1 file changed
+2
-2
@@ -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 -}}
|
||||
|
||||
Reference in new issue
Block a user