Commit 3eab7827 authored by Jamie Tanna's avatar Jamie Tanna

Merge branch 'feature/manual-webmention' into 'fork'

Allow manual Webmentions via HTML forms

See merge request !28
parents 5e8981e2 d0eee247
......@@ -24,7 +24,8 @@ main {
div.post-info,
div.post-details,
blockquote,
div.catalogue {
div.catalogue,
form#manual-webmention {
margin: 0 auto 1rem;
@extend %max-width;
}
......
......@@ -38,6 +38,16 @@
<h2>Interactions with this post</h2>
<p>This post has had {{ len $webmentions.children }} <a href="http://indieweb.org/webmention">WebMention</a> interactions, as of {{ now.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}.</p>
<div class="manual-webmention">
<p>Have you written a <a href="https://indieweb.org/responses">response</a> to this post? Let me know the URL:</p>
<form id="manual-webmention" action="https://webmention.io/{{ .Site.Params.WebMentionDomain }}/webmention" method="post">
<input type="url" name="source" value="" />
<input type="hidden" name="target" value="{{ $url }}" />
<input type="submit" name="submit" value="Send Webmention" />
</form>
</div>
{{ partial "webmention/likes.html" $likes }}
{{ partial "webmention/mentions.html" $mentions }}
{{ partial "webmention/reposts.html" $reposts }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment