Remove whitespace formatting

master
Will Faught 2 years ago
parent ef8329450d
commit a1dd5aed63

@ -7,17 +7,17 @@
{{ end }}
<span class="paige-icon">
{{ with $url -}}
{{- if hasPrefix . "mailto:" -}}
{{ with $url }}
{{ if hasPrefix . "mailto:" }}
<a href="#" data-a="{{ base64Encode (index (split . `@`) 0) }}" data-b="{{ base64Encode `@` }}" data-c="{{ base64Encode (index (split . `@`) 1) }}" onclick="this.href = atob(this.dataset.a) + atob(this.dataset.b) + atob(this.dataset.c)">
{{- else -}}
{{ else }}
<a href="{{ . }}">
{{- end -}}
{{- end -}}
{{ end }}
{{ end }}
<i class="{{ $class }}">{{ with $name }}<span class="visually-hidden">{{ . }}</span>{{ end }}</i>
{{- if $url -}}
{{ if $url }}
</a>
{{- end }}
{{ end }}
</span>

Loading…
Cancel
Save