Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dillonzq/LoveIt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2022-06-05 18:34:47 +0300
committerDillon <dillonzq@outlook.com>2022-06-05 18:34:47 +0300
commit1be3b6d4c05bcf908f2fb85033728f8c46426af5 (patch)
tree500133c23969ef9fb22e2119bdb157e45badaab0 /layouts
parente13a4adb6a5088f251118eecae1cb2e30f9f401d (diff)
fix: css resource build cache and icon tag aria-hidden attr
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/plugin/h-card.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/plugin/h-card.html b/layouts/partials/plugin/h-card.html
index ee5cea97..66130323 100644
--- a/layouts/partials/plugin/h-card.html
+++ b/layouts/partials/plugin/h-card.html
@@ -4,12 +4,12 @@
{{- $n := .Nickname | default .Name | default .Email | default .URL | default "👀" -}}
<span class="h-card{{ with .Class }} {{ . }}{{- end -}}">
{{- with .URL -}}<a href="{{ . }}" class="u-url url"{{ with $rel }} rel="{{ . }}"{{- end -}}{{ with $text }} title="{{ . }}"{{ end }}>{{- else -}}{{- with .Email -}}<a href="mailto:{{ . }}" class="email"{{ with $text }} title="{{ . }}"{{ end }}>{{- end -}}{{- end -}}
-{{- with .Image -}}<img class="u-photo photo" src="{{ . }}" alt="{{ $n }}">{{- else -}}<i class="far fa-user-circle"></i>{{ end -}}&#8201;
+{{- with .Image -}}<img class="u-photo photo" src="{{ . }}" alt="{{ $n }}">{{- else -}}<i class="far fa-user-circle" aria-hidden="true"></i>{{ end -}}&#8201;
{{- with .Name -}}<span class="p-name fn">{{ . }}</span>{{ with $nick }} ({{- end -}}{{- end -}}
{{- with .Nickname -}}<span class="p-nickname nickname">{{ . }}</span>{{- end -}}
{{- with .Name -}}{{ with $nick }}){{- end -}}{{- end -}}
{{- with .URL -}}</a>{{- else -}}{{- with .Email -}}</a>{{- end -}}{{- end -}}
{{- with .Email }}
- <a href="mailto:{{ . }}" class="email"><span class="u-email">{{ . }}</span></a>
+ <a href="mailto:{{ . }}" class="email"><span class="u-email">{{ . }}</span></a>
{{- end -}}
</span> \ No newline at end of file