1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 21:02:09 +00:00

Fix: webmention form partial has missing context

This commit is contained in:
Rohan Kumar 2022-05-30 13:50:09 -07:00
parent 4201b1ad05
commit 9356055f6c
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -1,7 +1,7 @@
<section aria-labelledby="webmentions"> <section aria-labelledby="webmentions">
<h2 id="webmentions" tabindex="-1">Webmen&shy;tions</h2> <h2 id="webmentions" tabindex="-1">Webmen&shy;tions</h2>
<p>This site supports <a href="https://indieweb.org/webmention">Webmentions</a>. Webmentions received for this post will appear in the following list after I approve them. I sometimes send Webmentions to myself on behalf of linking sites that don't support them. Check the <a href="https://web.archive.org/">Wayback Machine</a> if any links are broken.</p> <p>This site supports <a href="https://indieweb.org/webmention">Webmentions</a>. Webmentions received for this post will appear in the following list after I approve them. I sometimes send Webmentions to myself on behalf of linking sites that don't support them. Check the <a href="https://web.archive.org/">Wayback Machine</a> if any links are broken.</p>
{{ partial "webmention-form.html" }} {{ partial "webmention-form.html" . }}
<dl> <dl>
{{- $target := .RelPermalink | replaceRE "^/~seirdy/" "/" }} {{- $target := .RelPermalink | replaceRE "^/~seirdy/" "/" }}
{{- $oldTarget := $target | replaceRE "/posts" "" | replaceRE "/$" ".html" -}} {{- $oldTarget := $target | replaceRE "/posts" "" | replaceRE "/$" ".html" -}}