Remove whitespace formatting
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user