diff options
author | Dmitry Kolosov <mitrichius@gmail.com> | 2021-01-11 21:40:41 +0300 |
---|---|---|
committer | Dmitry Kolosov <mitrichius@gmail.com> | 2021-01-11 21:40:41 +0300 |
commit | 723c94d0d485858b240b7a62526e878c681a7b69 (patch) | |
tree | 92cf8b834414289a09f002fcc0cc0b50dac1220b /layouts/partials/head.html | |
parent | b89babe209c1be5eeeb027b17b41757ebde095e7 (diff) |
support webmentions #75
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r-- | layouts/partials/head.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 8975477..4a4cc42 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -27,6 +27,13 @@ {{ template "_internal/opengraph.html" . }} {{ template "_internal/twitter_cards.html" . }} +{{ if isset .Site.Params.webmentions "login" }} + <link rel="webmention" href="https://webmention.io/{{.Site.Params.webmentions.login}}/webmention" /> + {{ if eq .Site.Params.webmentions.pingback true }} + <link rel="pingback" href="https://webmention.io/{{.Site.Params.webmentions.login}}/xmlrpc" /> + {{ end }} +{{ end }} + <!-- Article tags --> <!-- <meta property="article:published_time" content=""> <meta property="article:modified_time" content=""> |