Add Researchgate as contact option (#864)

This commit is contained in:
Dieter Vansteenwegen 2024-01-17 13:56:07 +01:00 committed by GitHub
parent 2c5cbeee94
commit 1aa27921d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -115,6 +115,10 @@
<li><a href={{ printf "https://github.com/%s" $value }} target="_blank" rel="noopener">
<span><i class="fab fa-github"></i></span> <span>{{ $value }}</span>
</a></li>
{{ else if (eq $key "researchgate") }}
<li><a href={{ printf "https://www.researchgate.net/profile/%s" $value }} target="_blank" rel="noopener">
<span><i class="fab fa-researchgate"></i></span> <span>{{ $author.name }}</span>
</a></li>
{{ else if reflect.IsMap $value }}
<li>
{{ if (and (isset $value "url") (isset $value "icon"))}}