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

Add contact fields (url and information)

parent 45204055
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,9 @@
{{ if .name }}
<p itemprop="name">{{ .name }}</p>
{{ end }}
{{ with .information }}
{{ partial "PrepareHTML" . }}
{{ end }}
{{ with .address }}
{{ if or .address .city .zipcode .country }}
<div itemprop="address" itemscope itemtype="https://schema.org/PostalAddress">
......@@ -51,6 +54,9 @@
</div>
{{ end }}
{{ end }}
{{ with .url }}
<a href="{{ . }}" target="_blank" rel="noreferrer">{{ . }}</a>
{{ end }}
<p>
{{ range .phone_numbers }}
<a itemprop="telephone" href="tel:{{ . }}">{{ . }}</a><br>
......
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