81 lines
2.7 KiB
JSON
81 lines
2.7 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "/misc/open_graph.json",
|
|
"description": "Open Graph metadata\nhttps://hexo.io/docs/helpers.html#open-graph",
|
|
"type": "object",
|
|
"properties": {
|
|
"title": {
|
|
"type": "string",
|
|
"description": "Page title (og:title) (optional)\nYou should leave this blank for most of the time",
|
|
"nullable": true
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"description": "Page type (og:type) (optional)\nYou should leave this blank for most of the time",
|
|
"default": "blog",
|
|
"nullable": true
|
|
},
|
|
"url": {
|
|
"type": "string",
|
|
"description": "Page URL (og:url) (optional)\nYou should leave this blank for most of the time",
|
|
"nullable": true
|
|
},
|
|
"image": {
|
|
"type": [
|
|
"string",
|
|
"array"
|
|
],
|
|
"description": "Page cover (og:image) (optional) Default to the Open Graph image or thumbnail of the page\nYou should leave this blank for most of the time",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"site_name": {
|
|
"type": "string",
|
|
"description": "Site name (og:site_name) (optional)\nYou should leave this blank for most of the time",
|
|
"nullable": true
|
|
},
|
|
"author": {
|
|
"type": "string",
|
|
"description": "Page author (article:author) (optional)\nYou should leave this blank for most of the time",
|
|
"nullable": true
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"description": "Page description (og:description) (optional)\nYou should leave this blank for most of the time",
|
|
"nullable": true
|
|
},
|
|
"twitter_card": {
|
|
"type": "string",
|
|
"description": "Twitter card type (twitter:card)",
|
|
"nullable": true
|
|
},
|
|
"twitter_id": {
|
|
"type": "string",
|
|
"description": "Twitter ID (twitter:creator)",
|
|
"nullable": true
|
|
},
|
|
"twitter_site": {
|
|
"type": "string",
|
|
"description": "Twitter ID (twitter:creator)",
|
|
"nullable": true
|
|
},
|
|
"google_plus": {
|
|
"type": "string",
|
|
"description": "Google+ profile link (deprecated)",
|
|
"nullable": true
|
|
},
|
|
"fb_admins": {
|
|
"type": "string",
|
|
"description": "Facebook admin ID",
|
|
"nullable": true
|
|
},
|
|
"fb_app_id": {
|
|
"type": "string",
|
|
"description": "Facebook App ID",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"nullable": true
|
|
} |