mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Implements OpenSearch support, closes #107
This commit is contained in:
parent
ee43d8cfb1
commit
8bffb61e68
3 changed files with 25 additions and 0 deletions
|
|
@ -43,6 +43,8 @@ proc renderHead*(prefs: Prefs; cfg: Config; titleText=""; desc=""; video="";
|
|||
link(rel="icon", type="image/png", sizes="16x16", href="/favicon-16x16.png")
|
||||
link(rel="manifest", href="/site.webmanifest")
|
||||
link(rel="mask-icon", href="/safari-pinned-tab.svg", color="#ff6c60")
|
||||
link(rel="search", type="application/opensearchdescription+xml", title=cfg.title,
|
||||
href="http://localhost:8080/opensearch")
|
||||
|
||||
if prefs.hlsPlayback:
|
||||
script(src="/js/hls.light.min.js")
|
||||
|
|
|
|||
Loading…
Reference in a new issue