forked from laurens/fediversity_website
Weghalen van _blank-target om te voorkomen dat links niet werken op mobiele apparaten
This commit is contained in:
parent
ac9eea77e0
commit
94b055edb5
|
@ -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" "title" "Bekijk locatie op OpenStreetMap") }}</a>
|
<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 }}
|
{{ 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>
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
{{ range where $communities "category" . }}
|
{{ range where $communities "category" . }}
|
||||||
<div>
|
<div>
|
||||||
{{ if .url }}
|
{{ if .url }}
|
||||||
<h4><a href="{{ .url }}" target="_blank" rel="noopener">{{ .name }}</a></h4>
|
<h4><a href="{{ .url }}">{{ .name }}</a></h4>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<h4>{{ .name }}</h4>
|
<h4>{{ .name }}</h4>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -16,18 +16,18 @@
|
||||||
|
|
||||||
<nav aria-label="Social media">
|
<nav aria-label="Social media">
|
||||||
{{ with .Site.Params.twitter_handle }}
|
{{ with .Site.Params.twitter_handle }}
|
||||||
<a class="icon" href="https://twitter.com/{{ . }}" target="_blank" rel="noopener">{{ partial "show-svg-icon.html" (dict "context" . "icon" "twitter" "iconsize" $iconsize_footer "title" "Twitter mee") }}</a>
|
<a class="icon" href="https://twitter.com/{{ . }}">{{ partial "show-svg-icon.html" (dict "context" . "icon" "twitter" "iconsize" $iconsize_footer "title" "Twitter mee") }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if and
|
{{ if and
|
||||||
(.Site.Params.mastodon_handle)
|
(.Site.Params.mastodon_handle)
|
||||||
(.Site.Params.mastodon_instance)
|
(.Site.Params.mastodon_instance)
|
||||||
}}
|
}}
|
||||||
<a class="icon" href="{{ .Site.Params.mastodon_instance }}@{{ .Site.Params.mastodon_handle }}" target="_blank">{{ partial "show-svg-icon.html" (dict "context" . "icon" "mastodon" "iconsize" $iconsize_footer "title" "Toots van NLUUG") }}</a>
|
<a class="icon" href="{{ .Site.Params.mastodon_instance }}@{{ .Site.Params.mastodon_handle }}">{{ partial "show-svg-icon.html" (dict "context" . "icon" "mastodon" "iconsize" $iconsize_footer "title" "Toots van NLUUG") }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<a class="icon" href="https://www.linkedin.com/groups/130891/" target="_blank" rel="noopener">{{ partial "show-svg-icon.html" (dict "context" . "icon" "linkedin" "iconsize" $iconsize_footer "title" "Vind ons op LinkedIn") }}</a>
|
<a class="icon" href="https://www.linkedin.com/groups/130891/">{{ partial "show-svg-icon.html" (dict "context" . "icon" "linkedin" "iconsize" $iconsize_footer "title" "Vind ons op LinkedIn") }}</a>
|
||||||
<a class="icon" href="https://www.meetup.com/nluug-dutch-unix-linux-user-group/" target="_blank" rel="noopener">{{ partial "show-svg-icon.html" (dict "context" . "icon" "meetup" "iconsize" $iconsize_footer "title" "Bekijk onze geplande evenementen") }}</a>
|
<a class="icon" href="https://www.meetup.com/nluug-dutch-unix-linux-user-group/">{{ partial "show-svg-icon.html" (dict "context" . "icon" "meetup" "iconsize" $iconsize_footer "title" "Bekijk onze geplande evenementen") }}</a>
|
||||||
<a class="icon" href="{{ absURL "atom.xml" }}" target="_blank" rel="noopener">{{ partial "show-svg-icon.html" (dict "context" . "icon" "rss" "iconsize" $iconsize_footer "title" "RSS-feed voor nieuwsberichten") }}</a>
|
<a class="icon" href="{{ absURL "atom.xml" }}">{{ partial "show-svg-icon.html" (dict "context" . "icon" "rss" "iconsize" $iconsize_footer "title" "RSS-feed voor nieuwsberichten") }}</a>
|
||||||
<a class="icon" href="{{ absURL "feed.json" }}" target="_blank" rel="noopener">{{ partial "show-svg-icon.html" (dict "context" . "icon" "database" "iconsize" $iconsize_footer "title" "JSON Feed voor actueel nieuws") }}</a>
|
<a class="icon" href="{{ absURL "feed.json" }}">{{ partial "show-svg-icon.html" (dict "context" . "icon" "database" "iconsize" $iconsize_footer "title" "JSON Feed voor actueel nieuws") }}</a>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
|
Reference in a new issue