forked from laurens/fediversity_website
Kanarie-functie gecorrigeerd en alternatieve teksten nu ook ingevuld voor footer
This commit is contained in:
parent
b61b5747d6
commit
ae8b60d8c3
|
@ -15,8 +15,8 @@
|
||||||
<h2>Volg ons</h2>
|
<h2>Volg ons</h2>
|
||||||
|
|
||||||
<nav aria-label="Social media">
|
<nav aria-label="Social media">
|
||||||
{{ with .Site.Params.twitter_handle }}
|
{{ if .Site.Params.twitter_handle }}
|
||||||
<a class="icon" href="https://twitter.com/{{ . }}">{{ 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 "alt" "Icoon van Twitter" "title" "Twitter mee") }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if and
|
{{ if and
|
||||||
(.Site.Params.mastodon_handle)
|
(.Site.Params.mastodon_handle)
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
<img{{ if .class }} class="{{ .class }}"{{ end }} src="/afbeeldingen/iconen/{{ .icon }}.svg" height="{{ .iconsize | default 20 }}" width="{{ .iconsize | default 20 }}" alt="{{ .alt | default .Site.Params.textNoTitle }}"{{ with .title }} title="{{ . }}"{{ end }}>
|
<img{{ if .class }} class="{{ .class }}"{{ end }} src="/afbeeldingen/iconen/{{ .icon }}.svg" height="{{ .iconsize | default 20 }}" width="{{ .iconsize | default 20 }}" alt="{{ .alt | default $.context.Site.Params.textEmptyValue }}"{{ with .title }} title="{{ . }}"{{ end }}>
|
||||||
|
|
Reference in a new issue