diff options
author | Christoph Cullmann <cullmann@kde.org> | 2022-10-21 21:01:11 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2022-10-21 21:01:11 +0200 |
commit | 582a8a33aff644a6b07534aaf677973abc6f154c (patch) | |
tree | 069a34670b1b91041ef9f3fcb73192dd05c60963 /themes/LoveIt/layouts/partials/plugin/h-card.html | |
parent | 038eabdda56dbfdbbba4328ac035cc4d77e8d80d (diff) |
use different theme that is a lot slimer
Diffstat (limited to 'themes/LoveIt/layouts/partials/plugin/h-card.html')
-rw-r--r-- | themes/LoveIt/layouts/partials/plugin/h-card.html | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/themes/LoveIt/layouts/partials/plugin/h-card.html b/themes/LoveIt/layouts/partials/plugin/h-card.html deleted file mode 100644 index 6613032..0000000 --- a/themes/LoveIt/layouts/partials/plugin/h-card.html +++ /dev/null @@ -1,15 +0,0 @@ -{{- $rel := .Rel -}} -{{- $nick := .Nickname -}} -{{- $text := .Text -}} -{{- $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" aria-hidden="true"></i>{{ end -}}  -{{- 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> -{{- end -}} -</span>
\ No newline at end of file |