Skip to content
Snippets Groups Projects
Commit 50c8def4 authored by alexisben's avatar alexisben
Browse files

wip

parent 74c77530
No related branches found
No related tags found
No related merge requests found
{{ with .Params }} {{ with .Params.contact_details }}
{{ if or .website .linkedin .twitter .email .address .city .zipcode .country .phone }} {{ if or .website .linkedin .twitter .email .address .city .zipcode .country .phone }}
<div class="contacts-details"> <div class="contacts-details">
{{ if or .website .linkedin .twitter .email }} {{ if or .website .linkedin .twitter .email }}
...@@ -6,28 +6,28 @@ ...@@ -6,28 +6,28 @@
{{ with .website }} {{ with .website }}
<li> <li>
<span>{{ i18n "commons.contact.website" }}</span> <span>{{ i18n "commons.contact.website" }}</span>
<a href="{{ chomp . }}" target="_blank" rel="noopener" itemprop="url">{{ chomp . }}</a> <a href="{{ chomp .url }}" target="_blank" rel="noopener" itemprop="url">{{ chomp .label }}</a>
</li> </li>
{{ end }} {{ end }}
{{ with .linkedin }} {{ with .linkedin }}
<li> <li>
<span>LinkedIn</span> <span>LinkedIn</span>
<a href="{{ chomp . }}" target="_blank" rel="noopener" itemprop="url">{{ chomp . }}</a> <a href="{{ chomp .url }}" target="_blank" rel="noopener" itemprop="url">{{ chomp .label }}</a>
</li> </li>
{{ end }} {{ end }}
{{ with .twitter }} {{ with .twitter }}
<li> <li>
<span>Twitter</span> <span>Twitter</span>
<a href="https://twitter.com/{{ chomp . }}" target="_blank" rel="noopener" itemprop="url">{{ chomp . }}</a> <a href="https://twitter.com/{{ chomp .url }}" target="_blank" rel="noopener" itemprop="url">{{ chomp .label }}</a>
</li> </li>
{{ end }} {{ end }}
{{ with .email }} {{ with .email }}
<li> <li>
<span>{{ i18n "commons.contact.email" }}</span> <span>{{ i18n "commons.contact.email" }}</span>
<a href="mailto:{{ chomp . }}" itemprop="email">{{ chomp . }}</a> <a href="mailto:{{ chomp .url }}" itemprop="email">{{ chomp .label }}</a>
</li> </li>
{{ end }} {{ end }}
</ul> </ul>
......
{{ with .Params }} {{ with .Params.contact_details }}
{{ if or .website .linkedin .twitter .email .phone }} {{ if or .website .linkedin .twitter .email .phone }}
<div class="contacts-details contacts-details--person"> <div class="contacts-details contacts-details--person">
{{ if or .website .linkedin .twitter .email .phone }} {{ if or .website .linkedin .twitter .email .phone }}
......
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