feat: Add people links to list items
This commit is contained in:
parent
d694639bef
commit
04aa7db9d5
3 changed files with 18 additions and 0 deletions
|
@ -14,6 +14,7 @@ import {
|
|||
faPresentation,
|
||||
faScaleBalanced,
|
||||
faUniversity,
|
||||
faUser,
|
||||
faUserAstronaut,
|
||||
faVideo,
|
||||
faW,
|
||||
|
@ -108,6 +109,7 @@ library.add(
|
|||
faStackOverflow,
|
||||
faSteam,
|
||||
faUniversity,
|
||||
faUser,
|
||||
faUserAstronaut,
|
||||
faVideo,
|
||||
faVimeo,
|
||||
|
|
|
@ -157,3 +157,7 @@ h1 {
|
|||
max-width: 33%;
|
||||
}
|
||||
}
|
||||
|
||||
.card-link {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
|
|
@ -33,6 +33,18 @@
|
|||
{{/* Prefer full-text links over local ones */}}
|
||||
{{ $link := default .RelPermalink (index .Params "link") }}
|
||||
<a href="{{ $link }}"><h3 class="card-title">{{ .Title }}</h3></a>
|
||||
|
||||
{{ range (.GetTerms "people") }}
|
||||
<a
|
||||
href="{{ .RelPermalink }}"
|
||||
class="icon-link card-link {{ if eq .LinkTitle "Thomas A. Christensen II" }}
|
||||
fw-bolder
|
||||
{{ end }}"
|
||||
><i class="fad fa-user"></i> {{ .LinkTitle }}</a
|
||||
>
|
||||
{{ end }}
|
||||
|
||||
|
||||
<p class="card-text">
|
||||
{{ .Summary }}
|
||||
<strong
|
||||
|
|
Loading…
Reference in a new issue