Add an optional verification link to your Mastodon profile
This commit is contained in:
parent
94d8927676
commit
ad868c7cac
@ -215,6 +215,10 @@ paginate = 5
|
||||
creator = ""
|
||||
site = ""
|
||||
|
||||
[params.mastodon]
|
||||
# set rel-Link to your mastodon profile
|
||||
# site = "" # full URL, e.g. https://myInstance.org/@myUsername
|
||||
|
||||
[languages]
|
||||
[languages.en]
|
||||
languageName = "English"
|
||||
|
@ -45,6 +45,11 @@
|
||||
<meta name="twitter:creator" content="{{ if .IsHome }}{{ $.Site.Params.Twitter.creator }}{{ else if isset .Params "authortwitter" }}{{ .Params.authorTwitter }}{{ else }}{{ .Params.Author }}{{ end }}" />
|
||||
{{ end }}
|
||||
|
||||
<!-- Mastodon rel link -->
|
||||
{{ if (isset $.Site.Params.Mastodon "site") }}
|
||||
<link rel="me" href="{{ $.Site.Params.Mastodon.site }}" />
|
||||
{{ end }}
|
||||
|
||||
<!-- OG data -->
|
||||
<meta property="og:locale" content="{{ $.Site.Language.Lang }}" />
|
||||
<meta property="og:type" content="{{ if .IsPage }}article{{ else }}website{{ end }}" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user