From 51fb029ca27d67d7cd67352cdede45e5b25868f7 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sun, 14 Aug 2022 19:01:21 +0200 Subject: switch back to LoveIt, other theme is deprectated --- themes/LoveIt/layouts/partials/plugin/h-card.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 themes/LoveIt/layouts/partials/plugin/h-card.html (limited to 'themes/LoveIt/layouts/partials/plugin/h-card.html') diff --git a/themes/LoveIt/layouts/partials/plugin/h-card.html b/themes/LoveIt/layouts/partials/plugin/h-card.html new file mode 100644 index 0000000..6613032 --- /dev/null +++ b/themes/LoveIt/layouts/partials/plugin/h-card.html @@ -0,0 +1,15 @@ +{{- $rel := .Rel -}} +{{- $nick := .Nickname -}} +{{- $text := .Text -}} +{{- $n := .Nickname | default .Name | default .Email | default .URL | default "👀" -}} + +{{- with .URL -}}{{- else -}}{{- with .Email -}}{{- else -}}{{- with .Email -}}{{- end -}}{{- end -}} +{{- with .Email }} + +{{- end -}} + \ No newline at end of file -- cgit v1.2.3