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,
|
faPresentation,
|
||||||
faScaleBalanced,
|
faScaleBalanced,
|
||||||
faUniversity,
|
faUniversity,
|
||||||
|
faUser,
|
||||||
faUserAstronaut,
|
faUserAstronaut,
|
||||||
faVideo,
|
faVideo,
|
||||||
faW,
|
faW,
|
||||||
|
@ -108,6 +109,7 @@ library.add(
|
||||||
faStackOverflow,
|
faStackOverflow,
|
||||||
faSteam,
|
faSteam,
|
||||||
faUniversity,
|
faUniversity,
|
||||||
|
faUser,
|
||||||
faUserAstronaut,
|
faUserAstronaut,
|
||||||
faVideo,
|
faVideo,
|
||||||
faVimeo,
|
faVimeo,
|
||||||
|
|
|
@ -157,3 +157,7 @@ h1 {
|
||||||
max-width: 33%;
|
max-width: 33%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.card-link {
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
|
@ -33,6 +33,18 @@
|
||||||
{{/* Prefer full-text links over local ones */}}
|
{{/* Prefer full-text links over local ones */}}
|
||||||
{{ $link := default .RelPermalink (index .Params "link") }}
|
{{ $link := default .RelPermalink (index .Params "link") }}
|
||||||
<a href="{{ $link }}"><h3 class="card-title">{{ .Title }}</h3></a>
|
<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">
|
<p class="card-text">
|
||||||
{{ .Summary }}
|
{{ .Summary }}
|
||||||
<strong
|
<strong
|
||||||
|
|
Loading…
Reference in a new issue