Skip to content

Commit 566ee37

Browse files
Tried to fix team linked in images issue when long name exists
1 parent 252d74f commit 566ee37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

layouts/page/team.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ <h4>{{ .name }}</h4>
4040
{{ with $.Resources.Get .image }}
4141
<img src="{{ .RelPermalink }}" class="img-fluid" alt="">
4242
{{ end }}
43-
<!--<span>Web Development</span>-->
43+
<h4 style="margin-top: 0;">{{ .name | replaceRE "\\s+" "<br>" | safeHTML }}</h4>
44+
<span>{{ .line }}</span>
4445
<div class="social">
45-
<h4 style="margin-top: 0;">{{ .name | replaceRE "\\s+" "<br>" | safeHTML }}</h4>
4646
{{ with .linkedin }}
4747
<a href="{{ . }}" target="_blank" style="margin: 0px 5px 0px 5px"><i class="bi bi-linkedin"></i></a>
4848
{{ end }}

0 commit comments

Comments
 (0)