File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ <h1 class="is-ellipsis-3" data-aos="fade-up" data-aos-duration="500" title="{{ $
32
32
<!-- author start -->
33
33
{{ range $authorName := $p.Params.authors }}
34
34
{{ range site.Data.authors }}
35
- {{ if eq .name $authorName}}
35
+ {{ if eq (lower .name) (lower $authorName) }}
36
36
< div class ="author ">
37
37
< a href ="{{$.Site.Params.basePath}}authors/{{ .name | urlize }} " class ="author-image "> < img
38
38
src ="{{$.Site.Params.basePath}}{{ .profile }} "
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ <h1 data-aos="fade-up" data-aos-duration="500">{{ .Title }}</h1>
29
29
< div class ="is-flex authors ">
30
30
{{ range $authorName := .Params.authors }}
31
31
{{ range site.Data.authors }}
32
- {{ if eq .name $authorName}}
32
+ {{ if eq (lower .name) (lower $authorName) }}
33
33
< div class ="author ">
34
34
< a href ="{{$.Site.Params.basePath}}authors/{{ .name | urlize }} " class ="author-image "> < img
35
35
src ="{{$.Site.Params.basePath}}{{.profile}} "
You can’t perform that action at this time.
0 commit comments