Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/leonardofaria/bento.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Faria <leonardofaria@gmail.com>2020-11-29 06:47:25 +0300
committerLeonardo Faria <leonardofaria@gmail.com>2020-11-29 06:47:25 +0300
commitb8e2fa37b0dcb7d7786471705ff6ae90c7eaef99 (patch)
treec610e71d664e20c90b12fb82bc09bdad6d80982c /layouts/partials/head.html
parent8075a7db53ceadd32ebb6a6fdc3129112eb68a90 (diff)
Add webmentions in posts
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index fef91e6..f886603 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -122,5 +122,8 @@
{{with .Site.Params.webmention }}
<link rel="webmention" href="https://webmention.io/{{.}}/webmention">
<link rel="pingback" href="https://webmention.io/{{.}}/xmlrpc">
+
+ {{ $webmentions := resources.Get "js/webmentions.js" }}
+ <script src="{{ $webmentions.RelPermalink }}" type="text/javascript"></script>
{{end}}
</head>