14 lines
543 B
HTML
14 lines
543 B
HTML
{{- if .Param "indieweb.enabled" }}
|
|
{{- if not (.Param "indieweb.hidewmform") }}
|
|
{{- if .Param "indieweb.endpoints.webmention" }}
|
|
<div class="wm-form">
|
|
<form method="post" action="{{ .Param "indieweb.endpoints.webmention" }}">
|
|
<p class="description"><label for="wm-source">{{ T "wmform_label" }}</label></p>
|
|
<input type="url" name="source" id="wm-source">
|
|
<input type="hidden" name="target" value="{{ .Permalink }}">
|
|
<input class="btn" type="submit" value="{{ T "wmform_btn" }}">
|
|
</form>
|
|
</div>
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- end }} |