add schema data for site name

This commit is contained in:
r888888888
2017-04-18 17:24:01 -07:00
parent bf8f04df0a
commit 75249427d9

View File

@@ -48,15 +48,23 @@
{
"@context": "http://schema.org",
"@type": "WebSite",
"url" : "http://<%= Danbooru.config.hostname%>",
"url" : "http://<%= Danbooru.config.hostname %>",
"potentialAction": [{
"@type": "SearchAction",
"target": "http://<%= Danbooru.config.hostname%>/posts?tags={search_term_string}",
"target": "http://<%= Danbooru.config.hostname %>/posts?tags={search_term_string}",
"query-input": "required name=search_term_string"
}]
}
</script>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"name": "<%= Danbooru.config.app_name %>",
"alternateName": "<%= Danbooru.config.description %>",
"url" : "http://<%= Danbooru.config.hostname %>"
}
</script>
</head>
<body lang="en">
<header id="top">