jlelse
/
Indieroad
Archived
1
Fork 0
This repository has been archived on 2020-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
Indieroad/layouts/partials/webmentionform.html

14 lines
654 B
HTML
Raw Normal View History

2019-09-03 15:50:00 +00:00
{{- if .Param "indieweb.enabled" }}
{{- if not (.Param "indieweb.hidewmform") }}
{{- if .Param "indieweb.endpoints.webmention" }}
<div class="wm-form">
2020-01-25 17:42:31 +00:00
<form id="wm-form" method="post" action="{{ .Param "indieweb.endpoints.webmention" }}">
<input type="url" name="source" id="wm-source" placeholder="{{ T "wmform_label" }}">
2019-09-03 15:50:00 +00:00
<input type="hidden" name="target" value="{{ .Permalink }}">
<input class="action" type="submit" value="{{ T "wmform_btn" }}">
2019-09-03 15:50:00 +00:00
</form>
2020-01-25 17:42:31 +00:00
<p id="anon-comment"><a href="https://quill.p3k.io/?dontask=1&me=https://commentpara.de&reply={{ .Permalink }}">{{ T "anon_comment" }}</a></p>
2019-09-03 15:50:00 +00:00
</div>
{{- end }}
{{- end }}
{{- end }}