add schema data for site name
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user