support webmentions #75
This commit is contained in:
parent
b89babe209
commit
723c94d0d4
@ -22,6 +22,7 @@ Anubis is a simple minimalist theme for [Hugo blog engine](https://gohugo.io/).
|
|||||||
- Favorite posts
|
- Favorite posts
|
||||||
- Pagination on post single page
|
- Pagination on post single page
|
||||||
- Optional "Read more" link
|
- Optional "Read more" link
|
||||||
|
- webmentions
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@ -69,6 +70,9 @@ params:
|
|||||||
paginationSinglePost: true
|
paginationSinglePost: true
|
||||||
style: light-without-switcher
|
style: light-without-switcher
|
||||||
readMore: false
|
readMore: false
|
||||||
|
webmentions:
|
||||||
|
login: hugo-theme-anubis
|
||||||
|
pingback: true
|
||||||
|
|
||||||
markup:
|
markup:
|
||||||
goldmark:
|
goldmark:
|
||||||
|
@ -27,6 +27,13 @@
|
|||||||
{{ template "_internal/opengraph.html" . }}
|
{{ template "_internal/opengraph.html" . }}
|
||||||
{{ template "_internal/twitter_cards.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 -->
|
<!-- Article tags -->
|
||||||
<!-- <meta property="article:published_time" content="">
|
<!-- <meta property="article:published_time" content="">
|
||||||
<meta property="article:modified_time" content="">
|
<meta property="article:modified_time" content="">
|
||||||
|
Loading…
Reference in New Issue
Block a user