diff options
author | Leonardo Faria <leonardofaria@gmail.com> | 2020-11-29 06:47:25 +0300 |
---|---|---|
committer | Leonardo Faria <leonardofaria@gmail.com> | 2020-11-29 06:47:25 +0300 |
commit | b8e2fa37b0dcb7d7786471705ff6ae90c7eaef99 (patch) | |
tree | c610e71d664e20c90b12fb82bc09bdad6d80982c /layouts/partials/head.html | |
parent | 8075a7db53ceadd32ebb6a6fdc3129112eb68a90 (diff) |
Add webmentions in posts
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r-- | layouts/partials/head.html | 3 |
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> |