add schema data for site name
This commit is contained in:
@@ -48,15 +48,23 @@
|
|||||||
{
|
{
|
||||||
"@context": "http://schema.org",
|
"@context": "http://schema.org",
|
||||||
"@type": "WebSite",
|
"@type": "WebSite",
|
||||||
"url" : "http://<%= Danbooru.config.hostname%>",
|
"url" : "http://<%= Danbooru.config.hostname %>",
|
||||||
"potentialAction": [{
|
"potentialAction": [{
|
||||||
"@type": "SearchAction",
|
"@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"
|
"query-input": "required name=search_term_string"
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
</script>
|
</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>
|
</head>
|
||||||
<body lang="en">
|
<body lang="en">
|
||||||
<header id="top">
|
<header id="top">
|
||||||
|
|||||||
Reference in New Issue
Block a user