2020-11-06 17:45:31 +00:00
|
|
|
{{ define "interactions" }}
|
|
|
|
<details class="p" id="interactions">
|
|
|
|
<summary><b>{{ string .Blog.Lang "interactions" }}</b></summary>
|
2021-11-18 21:56:30 +00:00
|
|
|
{{ $rd := . }}
|
2021-02-14 13:15:01 +00:00
|
|
|
{{ with ( mentions .Canonical ) }}
|
2021-11-18 21:56:30 +00:00
|
|
|
{{ include "mentions" $rd . }}
|
2020-11-06 17:45:31 +00:00
|
|
|
{{ end }}
|
2021-07-22 11:41:52 +00:00
|
|
|
<form class="fw p" method="post" action="/webmention">
|
2020-11-06 17:45:31 +00:00
|
|
|
<label for="wm-source" class="p">{{ string .Blog.Lang "interactionslabel" }}</label>
|
2021-01-23 16:24:47 +00:00
|
|
|
<input id="wm-source" type="url" name="source" placeholder="URL" required>
|
2021-02-14 13:15:01 +00:00
|
|
|
<input type="hidden" name="target" value="{{ .Canonical }}">
|
2021-07-22 11:41:52 +00:00
|
|
|
<input type="submit" value="{{ string .Blog.Lang "send" }}">
|
2020-11-06 17:45:31 +00:00
|
|
|
</form>
|
2021-07-22 11:41:52 +00:00
|
|
|
<form class="fw p" method="post" action="{{ .Blog.RelativePath "/comment" }}">
|
2021-02-14 13:15:01 +00:00
|
|
|
<input type="hidden" name="target" value="{{ .Canonical }}">
|
2021-01-23 16:24:47 +00:00
|
|
|
<input type="text" name="name" placeholder="{{ string .Blog.Lang "nameopt" }}">
|
|
|
|
<input type="url" name="website" placeholder="{{ string .Blog.Lang "websiteopt" }}">
|
|
|
|
<textarea name="comment" required placeholder="{{ string .Blog.Lang "comment" }}"></textarea>
|
2021-07-22 11:41:52 +00:00
|
|
|
<input type="submit" value="{{ string .Blog.Lang "docomment" }}">
|
2021-01-23 16:24:47 +00:00
|
|
|
</form>
|
2020-11-06 17:45:31 +00:00
|
|
|
</details>
|
|
|
|
{{ end }}
|