Skip to content

Commit

Permalink
Team members names clickable point to own full page
Browse files Browse the repository at this point in the history
  • Loading branch information
avicndugu committed Oct 30, 2023
1 parent bc70084 commit 2cc6bcc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 4 additions & 2 deletions layouts/team/summary-large.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
</div>
{{ end }}
<div class="team-meta">
<h2 class="team-name">{{ .Title }}</h2>
<h2 class="team-name">
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</h2>
<p class="team-description">{{ .Params.Jobtitle }}</p>
{{ if .Params.Linkedinurl }}
<a target="_blank" rel="noreferrer" href="{{ .Params.Linkedinurl }}">LinkedIn</a> {{ end }}
Expand All @@ -14,4 +16,4 @@ <h2 class="team-name">{{ .Title }}</h2>

</div>
<div class="team-content"> {{ .Content | truncate (.Site.Params.team.summary_large_truncate | default 120 ) "…" }}</div>
</div>
</div>
8 changes: 5 additions & 3 deletions layouts/team/summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
</div>
{{ end }}
<div class="team-meta">
<h2 class="team-name">{{ .Title }}</h2>
<h2 class="team-name">
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</h2>
<p class="team-description">{{ .Params.Jobtitle }}</p>
{{ if .Params.Linkedinurl }}
<a target="_blank" rel="noreferrer" href="{{ .Params.Linkedinurl }}">LinkedIn</a>
<a target="_blank" rel="noreferrer" href="{{ .Params.Linkedinurl }}">LinkedIn</a>
{{ end }}
</div>
<div class="team-content"></div>
</div>
</div>

0 comments on commit 2cc6bcc

Please sign in to comment.