forked from laurens/fediversity_website
Externe link tonen
This commit is contained in:
parent
d252cc9170
commit
1bb87adc44
|
@ -22,7 +22,14 @@
|
|||
<a href="https://www.openstreetmap.org/search?query={{ with .street_address }}{{ . | urlquery }}{{ end }},{{ with .postal_code }}{{ . | urlquery }}{{ end }}{{ with .city }},%20{{ . | urlquery }}{{ end }}">{{ partial "show-svg-icon.html" (dict "context" . "icon" "map-location-dot" "title" "Bekijk locatie op OpenStreetMap") }}</a>
|
||||
{{ end }}
|
||||
{{ with .link_external }}
|
||||
<p>» <a href="{{ . }}" rel="nofollow">Meer informatie (externe link)</a></p>
|
||||
<p>» <a href="{{ . }}" rel="nofollow">Meer informatie</a> (externe link)</p>
|
||||
{{ end }}
|
||||
{{ with .event_url }}
|
||||
{{ if findRE `^http` . 1 }}
|
||||
<p>» <a href="{{ . }}" rel="nofollow">Meer informatie</a> (externe link)</p>
|
||||
{{ else }}
|
||||
<p>» <a href="{{ . }}">Meer informatie</a></p>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
|
|
Reference in a new issue