The code in _includes/seo.html needs to be completed, so that it automatically adds the appropriate OpenGraph, Twitter and schema.org metadata. Part of this is already present, but it is unfinished.
The code in `_includes/seo.html` needs to be completed, so that it automatically adds the appropriate [OpenGraph](https://ogp.me/), Twitter and schema.org metadata. Part of this is already present, but it is unfinished.
This is an example of the JSON-LD generated for a Post page (schema.org Article):
{"@context":"https://schema.org","@type":"Article","mainEntityOfPage":{"@type":"WebPage","@id":"https://fedi.foundation/2021/04/fediverse-spiral-island-analogy/"},"headline":"Fediverse.. The Spiral Island Analogy","name":"Fediverse.. The Spiral Island Analogy","description":"The Fediverse is like a hand-made island. [..].","keywords":"vision","image":"https://fedi.foundation/richart-sowa-spiral-island.jpeg","datePublished":"2021-04-01T00:00:00+02:00","author":{"@type":"Person","name":"Arnold Schrijver","sameAs":"https://fedi.foundation/people/aschrijver/"},"license":"https://creativecommons.org/licenses/by-nc-sa/4.0/""publisher":{"@type":"Organization","name":"Fedi Foundation","logo":{"@type":"ImageObject","url":"https://fedi.foundation/assets/images/android-icon-512x512.png"}}}
This is an example of the JSON-LD generated for a Post page (schema.org `Article`):
```json
{
"@context":"https://schema.org",
"@type": "Article",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://fedi.foundation/2021/04/fediverse-spiral-island-analogy/"
},
"headline": "Fediverse.. The Spiral Island Analogy",
"name": "Fediverse.. The Spiral Island Analogy",
"description": "The Fediverse is like a hand-made island. [..].",
"keywords": "vision",
"image": "https://fedi.foundation/richart-sowa-spiral-island.jpeg",
"datePublished": "2021-04-01T00:00:00+02:00",
"author": {
"@type": "Person",
"name": "Arnold Schrijver",
"sameAs": "https://fedi.foundation/people/aschrijver/"
},
"license": "https://creativecommons.org/licenses/by-nc-sa/4.0/"
"publisher": {
"@type": "Organization",
"name": "Fedi Foundation",
"logo": {
"@type": "ImageObject",
"url": "https://fedi.foundation/assets/images/android-icon-512x512.png"
}
}
}
```
This is an example of the JSON-LD generated for a Profile page (schema.org ProfilePage):
{"@context":"https://schema.org","@type":"ProfilePage","mainEntityOfPage":{"@type":"WebPage","@id":"https://fedi.foundation/people/sal/"},"about":{"@type":"Person","name":"Salta Adrara","url":"https://sal.rocks","email":"sal2.adrara@protonmail.com","sameAs":["https://socialhub.activitypub.rocks/u/sal2/summary","https://fosstodon.org/@sal2345678","https://twitter.com/sal2345678","https://linkedin.com/in/sal2345678","https://keyoxide.org/9f0048ac0b23304e1aa7e994909f6bd6f80f478c","https://keybase.io/sal2345678","https://github.com/sal2345678","https://gitlab.com/sal2345678","https://codeberg.org/sal2345678","https://sourcehut.org/sal2345678","https://git.sal.rocks/sal2345678"]},"accountablePerson":{"@type":"Person","name":"Salta Adrara"},"copyrightHolder":{"@type":"Person","name":"Salta Adrara"},"name":"Salta Adrara","image":"","description":"Hi, I am Salta, the imaginary person that has all their possible profile fields filled in.","license":"https://creativecommons.org/licenses/by-nc-sa/4.0/","publisher":{"@type":"Organization","name":"Fedi Foundation","logo":{"@type":"ImageObject","url":"https://fedi.foundation/assets/images/android-icon-512x512.png"}}}
This is an example of the JSON-LD generated for a Profile page (schema.org `ProfilePage`):
```json
{
"@context":"https://schema.org",
"@type": "ProfilePage",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://fedi.foundation/people/sal/"
},
"about": {
"@type": "Person",
"name": "Salta Adrara",
"url": "https://sal.rocks",
"email": "sal2.adrara@protonmail.com",
"sameAs": ["https://socialhub.activitypub.rocks/u/sal2/summary","https://fosstodon.org/@sal2345678","https://twitter.com/sal2345678","https://linkedin.com/in/sal2345678","https://keyoxide.org/9f0048ac0b23304e1aa7e994909f6bd6f80f478c","https://keybase.io/sal2345678","https://github.com/sal2345678","https://gitlab.com/sal2345678","https://codeberg.org/sal2345678","https://sourcehut.org/sal2345678","https://git.sal.rocks/sal2345678"]
},
"accountablePerson": {
"@type": "Person",
"name": "Salta Adrara"
},
"copyrightHolder": {
"@type": "Person",
"name": "Salta Adrara"
},
"name": "Salta Adrara",
"image": "",
"description": "Hi, I am Salta, the imaginary person that has all their possible profile fields filled in.",
"license": "https://creativecommons.org/licenses/by-nc-sa/4.0/",
"publisher": {
"@type": "Organization",
"name": "Fedi Foundation",
"logo": {
"@type": "ImageObject",
"url": "https://fedi.foundation/assets/images/android-icon-512x512.png"
}
}
}
```
This is an example of the JSON-LD metadata generated on the landing page (schema.org Organization):
{"@context":"https://schema.org","@type":"Organization","name":"Fedi Foundation","description":"Welcome to Federated Diversity Foundation. We strive to empower SocialHub community and the Fediverse they build.","slogan":"United in Diversity""logo":"https://fedi.foundation/assets/images/android-icon-512x512.png","image":"https://fedi.foundation/assets/images/fedi-foundation-logo-black.png""url":"https://fedi.foundation/",}
This is an example of the JSON-LD metadata generated on the landing page (schema.org `Organization`):
```json
{
"@context":"https://schema.org",
"@type": "Organization",
"name": "Fedi Foundation",
"description": "Welcome to Federated Diversity Foundation. We strive to empower SocialHub community and the Fediverse they build.",
"slogan": "United in Diversity"
"logo": "https://fedi.foundation/assets/images/android-icon-512x512.png",
"image": "https://fedi.foundation/assets/images/fedi-foundation-logo-black.png"
"url": "https://fedi.foundation/",
}
```
The code in
_includes/seo.html
needs to be completed, so that it automatically adds the appropriate OpenGraph, Twitter and schema.org metadata. Part of this is already present, but it is unfinished.Using following inputs as reference:
Schema.org reference:
Using code from (mentioned in Credits page):
This is an example of the JSON-LD generated for a Post page (schema.org
Article
):This is an example of the JSON-LD generated for a Profile page (schema.org
ProfilePage
):This is an example of the JSON-LD metadata generated on the landing page (schema.org
Organization
):