We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 20e073e + 1e03c18 commit 326c6a3Copy full SHA for 326c6a3
layouts/partials/person-card.html
@@ -1,10 +1,12 @@
1
<div class="card">
2
<a href="{{ .RelPermalink }}">
3
+ <div class="ratio ratio-1x1">
4
{{ if .Params.image }}
- <img src="{{ .Params.image }}" class="card-img-top" alt="{{ .Title }}">
5
+ <img src="{{ .Params.image }}" class="card-img-top img-fluid rounded object-fit-cover" alt="{{ .Title }}">
6
{{ else }}
- <img src="/images/default_profile.webp" class="card-img-top" alt="{{ .Title }}">
7
+ <img src="/images/default_profile.webp" class="card-img-top img-fluid rounded object-fit-cover" alt="{{ .Title }}">
8
{{ end }}
9
+ </div>
10
</a>
11
<div class="card-body">
12
<a href=" {{ .RelPermalink }}">
0 commit comments