forked from laurens/fediversity_website
Toevoegen hint aan OpenStreetMap-icoon
This commit is contained in:
parent
7bbe7afefe
commit
8e01c175a2
|
@ -15,7 +15,7 @@
|
||||||
{{ with .event_address }}
|
{{ with .event_address }}
|
||||||
<h4>Locatie en adres</h4>
|
<h4>Locatie en adres</h4>
|
||||||
<p><strong>{{ $event_location }}</strong><br>{{ with .street_address }}{{ . }}{{ end }}<br>{{ with .postal_code }}{{ . }}{{ end }}{{ with .city }}, {{ . }}{{ end }}{{ with .country }}, {{ . }}{{ end }}</p>
|
<p><strong>{{ $event_location }}</strong><br>{{ with .street_address }}{{ . }}{{ end }}<br>{{ with .postal_code }}{{ . }}{{ end }}{{ with .city }}, {{ . }}{{ end }}{{ with .country }}, {{ . }}{{ end }}</p>
|
||||||
<a href="https://www.openstreetmap.org/search?query={{ with .street_address }}{{ . | urlquery }}{{ end }},{{ with .postal_code }}{{ . | urlquery }}{{ end }}{{ with .city }},%20{{ . | urlquery }}{{ end }}" target="_blank" rel="noopener">{{ partial "show-svg-icon.html" (dict "context" . "icon" "map-location-dot") }}</a>
|
<a href="https://www.openstreetmap.org/search?query={{ with .street_address }}{{ . | urlquery }}{{ end }},{{ with .postal_code }}{{ . | urlquery }}{{ end }}{{ with .city }},%20{{ . | urlquery }}{{ end }}" target="_blank" rel="noopener">{{ partial "show-svg-icon.html" (dict "context" . "icon" "map-location-dot" "title" "Bekijk locatie op OpenStreetMap") }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ with .link_external }}
|
{{ with .link_external }}
|
||||||
<p>» <a href="{{ . }}" rel="nofollow">Meer informatie (externe link)</a></p>
|
<p>» <a href="{{ . }}" rel="nofollow">Meer informatie (externe link)</a></p>
|
||||||
|
|
Reference in a new issue