mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-26 02:22:09 +00:00
1aed7a66d4
The site now has polygot markup and can handle both XHTML5 and HTML5 parsing rules. My staging site will be XHTML but my main site will be HTML5, just in case of parse errors. If other tools (e.g. LightHouse) end up supporting XHTML5, I'll consider switching the content-type to XHTML.
15 lines
863 B
HTML
15 lines
863 B
HTML
<fieldset>
|
|
<legend>Publish a response on your own website and share the link here to send me a webmention! Include a link to this page's canonical location for it to be accepted.</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" name="source" />
|
|
<div><input type="submit" value="submit" /></div>
|
|
</div>
|
|
</form>
|
|
</fieldset>
|