summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_partials/posts/action-menu/webmention-section.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layouts/_partials/posts/action-menu/webmention-section.html b/layouts/_partials/posts/action-menu/webmention-section.html
index f4af155b..55588444 100644
--- a/layouts/_partials/posts/action-menu/webmention-section.html
+++ b/layouts/_partials/posts/action-menu/webmention-section.html
@@ -5,6 +5,23 @@
<p class="no-webmention">{{ T "webmention.fetching" }}</p>
</div>
<div>
+ {{ $permalink := printf "https://www.geedea.pro%s" .RelPermalink }}
+ {{ $webmentions := index .Site.Data.webmentions $permalink }}
+ {{ $permalink }}
+ {{ with $webmentions }}
+ {{ range . }}
+ {{ if eq .type "in-reply-to" }}
+ <div class="">
+ <div class="flex">
+ <img src="{{ .author.photo }}" alt="Profile Picture"
+ class="h-10 w-10 rd-full" />
+ </div>
+ </div>
+ {{ end }}
+ {{ end }}
+ {{ end}}
+ </div>
+ <div>
<form
id="webmention-form"
action="https://webmention.io/www.geedea.pro/webmention"