Skip to content
Snippets Groups Projects
Commit 54cd348f authored by Arnaud Levy's avatar Arnaud Levy
Browse files

fix

parent cd81b642
No related merge requests found
......@@ -3,31 +3,31 @@
<div class="contacts-details">
{{ if or .website .linkedin .twitter .email }}
<ul>
{{ if .website }}
{{ with .website }}
<li>
<span>{{ i18n "commons.contact.website" }}</span>
<a href="{{ .website }}" target="_blank" rel="noopener" itemprop="url">{{ .website }}</a>
<a href="{{ chomp . }}" target="_blank" rel="noopener" itemprop="url">{{ chomp . }}</a>
</li>
{{ end }}
{{ if .linkedin }}
{{ with .linkedin }}
<li>
<span>LinkedIn</span>
<a href="{{ .linkedin }}" target="_blank" rel="noopener" itemprop="url">{{ .linkedin }}</a>
<a href="{{ chomp . }}" target="_blank" rel="noopener" itemprop="url">{{ chomp . }}</a>
</li>
{{ end }}
{{ if .twitter }}
{{ with .twitter }}
<li>
<span>Twitter</span>
<a href="https://twitter.com/{{ .twitter }}" target="_blank" rel="noopener" itemprop="url">{{ .twitter }}</a>
<a href="https://twitter.com/{{ chomp . }}" target="_blank" rel="noopener" itemprop="url">{{ chomp . }}</a>
</li>
{{ end }}
{{ if .email }}
{{ with .email }}
<li>
<span>{{ i18n "commons.contact.email" }}</span>
<a href="mailto:{{ .email }}" itemprop="email">{{ .email }}</a>
<a href="mailto:{{ chomp . }}" itemprop="email">{{ chomp . }}</a>
</li>
{{ end }}
</ul>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment