mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-27 08:21:51 +01:00
add google sitelinks
This commit is contained in:
parent
915c69a434
commit
7cbe8e1d00
17
index.html
17
index.html
@ -36,6 +36,23 @@
|
|||||||
|
|
||||||
<!-- OpenSearch -->
|
<!-- OpenSearch -->
|
||||||
<link rel="search" type="application/opensearchdescription+xml" title="movie-web" href="/opensearch.xml">
|
<link rel="search" type="application/opensearchdescription+xml" title="movie-web" href="/opensearch.xml">
|
||||||
|
|
||||||
|
<!-- Google Sitelinks -->
|
||||||
|
<script type="application/ld+json">
|
||||||
|
{
|
||||||
|
"@context": "https://schema.org",
|
||||||
|
"@type": "WebSite",
|
||||||
|
"url": "https://movie-web.app/",
|
||||||
|
"potentialAction": {
|
||||||
|
"@type": "SearchAction",
|
||||||
|
"target": {
|
||||||
|
"@type": "EntryPoint",
|
||||||
|
"urlTemplate": "https://movie-web.app/browse/{search_term_string}"
|
||||||
|
},
|
||||||
|
"query-input": "required name=search_term_string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||||
|
@ -4,6 +4,5 @@
|
|||||||
<InputEncoding>UTF-8</InputEncoding>
|
<InputEncoding>UTF-8</InputEncoding>
|
||||||
<!-- <Url type="text/html" template="https://movie-web.app/browse/{searchTerms}" /> -->
|
<!-- <Url type="text/html" template="https://movie-web.app/browse/{searchTerms}" /> -->
|
||||||
<Url type="text/html" template="https://dev.movie-web.app/browse/{searchTerms}" />
|
<Url type="text/html" template="https://dev.movie-web.app/browse/{searchTerms}" />
|
||||||
<!-- <Url type="text/html" template="http://localhost:5173/#/browse/{searchTerms}" /> -->
|
|
||||||
<Url type="application/opensearchdescription+xml" rel="self" template="https://movie-web.app/opensearch.xml" />
|
<Url type="application/opensearchdescription+xml" rel="self" template="https://movie-web.app/opensearch.xml" />
|
||||||
</OpenSearchDescription>
|
</OpenSearchDescription>
|
||||||
|
Loading…
Reference in New Issue
Block a user