add fediverse creator meta tag
This commit is contained in:
parent
52e9c360ee
commit
71a7ba08bf
2 changed files with 7 additions and 1 deletions
|
|
@ -9,7 +9,8 @@ export const author = {
|
||||||
name: 'Lene Saile', // i.e. Lene Saile - page / blog author's name. Must be set.
|
name: 'Lene Saile', // i.e. Lene Saile - page / blog author's name. Must be set.
|
||||||
avatar: '/icon-512x512.png', // path to the author's avatar. In this case just using a favicon.
|
avatar: '/icon-512x512.png', // path to the author's avatar. In this case just using a favicon.
|
||||||
email: 'hola@lenesaile.com', // i.e. hola@lenesaile.com - email of the author
|
email: 'hola@lenesaile.com', // i.e. hola@lenesaile.com - email of the author
|
||||||
website: 'https://www.lenesaile.com' // i.e. https.://www.lenesaile.com - the personal site of the author
|
website: 'https://www.lenesaile.com', // i.e. https.://www.lenesaile.com - the personal site of the author
|
||||||
|
fediverse: 'https://front-end.social/@lene' // used for highlighting journalism on the fediverse. Can be Mastodon, Flipboard, Threads, WordPress (with the ActivityPub plugin installed), PeerTube, Pixelfed, etc. https://blog.joinmastodon.org/2024/07/highlighting-journalism-on-mastodon/
|
||||||
};
|
};
|
||||||
export const creator = {
|
export const creator = {
|
||||||
name: 'Lene Saile', // i.e. Lene Saile - creator's (developer) name.
|
name: 'Lene Saile', // i.e. Lene Saile - creator's (developer) name.
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,11 @@
|
||||||
<link rel="me" href="{{ personal.platforms.mastodon }}" />
|
<link rel="me" href="{{ personal.platforms.mastodon }}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if meta.author.fediverse %}
|
||||||
|
<!-- fediverse creator tag -->
|
||||||
|
<meta name="fediverse:creator" content="{{ meta.author.fediverse }}" />
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<!-- Open Graph meta -->
|
<!-- Open Graph meta -->
|
||||||
<meta property="og:url" content="{{ meta.url }}{{ page.url }}" />
|
<meta property="og:url" content="{{ meta.url }}{{ page.url }}" />
|
||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue