mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2025-10-09 18:21:15 +00:00
Made webmention portion of code more generic
This commit is contained in:
parent
4d5f0f30cb
commit
a574a122a4
4 changed files with 7 additions and 9 deletions
|
@ -1,6 +1,7 @@
|
|||
<!-- Webmentions -->
|
||||
<div id="webmentions"></div>
|
||||
<form method="post" action="https://webmention.io/brandonrozek.com/webmention">
|
||||
{{ $siteHost := (urls.Parse .Site.BaseURL).Host -}}
|
||||
<form method="post" action="https://webmention.io/{{ $siteHost }}/webmention">
|
||||
<p>Have you published a response to this? <label for="webmention-source">Let me know the <abbr title="Uniform Resource Locator">URL</abbr></label>:</p>
|
||||
<input type="url" name="source" id="webmention-source">
|
||||
<input type="hidden" name="target" value="{{ .Permalink }}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue