mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-27 02:42:11 +00:00
f31763b9b1
Inspired by feedback from sysinhell: https://pleroma.envs.net/notice/AVe4QxnEKCRXmDn6Bs
15 lines
945 B
HTML
15 lines
945 B
HTML
<fieldset>
|
|
<legend>Publish a response on your own website, and link back to this page's canonical location. Then share your link here to turn it into a Webmention.</legend>
|
|
<form
|
|
itemprop="potentialAction" itemscope="" itemtype="https://schema.org/CommentAction"
|
|
action="https://seirdy.one/webmentions/receive" method="post">
|
|
<meta itemprop="actionStatus" content="PotentialActionStatus" />
|
|
{{ $canonicalRelPermalink := .RelPermalink | replaceRE "^/~seirdy/" "/" -}}
|
|
<input type="hidden" name="target" value="{{ .Site.Params.canonicalBaseURL }}{{ $canonicalRelPermalink }}" />
|
|
<label for="menchie">URL of page linking here</label>
|
|
<div><!--We need the extra divs to serve as pseudo-table-cells.-->
|
|
<input id="menchie" type="url" autocomplete="on" required="" name="source" /><!--enable autocomplete if the same URL mentions multiple pages.-->
|
|
<div><input type="submit" value="submit" /></div>
|
|
</div>
|
|
</form>
|
|
</fieldset>
|