Support OpenSearch (closes #7058) (#9427)

Co-authored-by: Chaos <chaoticryptidz@owo.monster>
This commit is contained in:
Soni L
2022-12-28 19:53:59 -03:00
committed by GitHub
parent c4e4ffcc9d
commit 123e490311
2 changed files with 20 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ html
link(rel='icon' href= icon || '/favicon.ico')
link(rel='apple-touch-icon' href= icon || '/apple-touch-icon.png')
link(rel='manifest' href='/manifest.json')
link(rel='search' type='application/opensearchdescription+xml' title=((title || "Misskey") + " Search") href=`${url}/opensearch.xml`)
link(rel='prefetch' href='https://xn--931a.moe/assets/info.jpg')
link(rel='prefetch' href='https://xn--931a.moe/assets/not-found.jpg')
link(rel='prefetch' href='https://xn--931a.moe/assets/error.jpg')