diff --git a/README.md b/README.md index c9a652e..0036d09 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ Anubis is a simple minimalist theme for [Hugo blog engine](https://gohugo.io/). - Favorite posts - Pagination on post single page - Optional "Read more" link +- webmentions ## Installation @@ -69,6 +70,9 @@ params: paginationSinglePost: true style: light-without-switcher readMore: false + webmentions: + login: hugo-theme-anubis + pingback: true markup: goldmark: 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" }} + + {{ if eq .Site.Params.webmentions.pingback true }} + + {{ end }} +{{ end }} +