2024-09-03 17:05:32 +00:00
|
|
|
<div
|
|
|
|
class="bg-theme-light dark:bg-darkmode-theme-light rounded p-8 text-center">
|
|
|
|
{{ $image:= .Params.image }}
|
|
|
|
{{ if $image }}
|
2024-09-07 11:02:16 +00:00
|
|
|
<a href="{{ .RelPermalink }}" class="logo-author">
|
|
|
|
{{ partial "image" (dict "Src" $image "Context" .Page "Alt" .Title "Class" "mx-auto mb-6 rounded" "size" "200x200") }}
|
2024-09-03 17:05:32 +00:00
|
|
|
</a>
|
|
|
|
{{ end }}
|
|
|
|
<h4 class="mb-3">
|
|
|
|
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
|
|
|
</h4>
|
2024-09-07 11:02:16 +00:00
|
|
|
<div class="descriptif-author">
|
|
|
|
<p class="mb-4">
|
|
|
|
{{ .Description }}
|
|
|
|
</p>
|
|
|
|
</div>
|
2024-09-03 17:05:32 +00:00
|
|
|
<ul class="social-icons">
|
|
|
|
{{ if .Params.website }}
|
|
|
|
<li>
|
|
|
|
<a href="{{ .Params.website | safeURL }}" target="_blank" rel="noopener nofollow">
|
|
|
|
<span class="sr-only">Site internet</span>
|
|
|
|
<i class="fas fa-globe"></i>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
2024-09-12 11:27:09 +00:00
|
|
|
{{ if .Params.email }}
|
|
|
|
<li>
|
|
|
|
<a href="mailto:{{ .Params.email }}" target="_blank" rel="noopener nofollow">
|
|
|
|
<span class="sr-only">Courriel</span>
|
|
|
|
<i class="fas fa-envelope"></i>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
2024-09-03 17:05:32 +00:00
|
|
|
|
|
|
|
{{ range .Params.social }}
|
|
|
|
<li>
|
|
|
|
<a href="{{ .link | safeURL }}" target="_blank" rel="noopener nofollow">
|
|
|
|
<span class="sr-only">{{ .title }}</span>
|
|
|
|
<i class="{{ .icon }}"></i>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
</div>
|