mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-18 06:42:10 +00:00
15 lines
944 B
HTML
15 lines
944 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="{{ .Site.Params.webmentionEndpoint }}" 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>
|