Use "tweets" instead of "custom" for search query

This commit is contained in:
Zed
2019-10-08 13:54:20 +02:00
parent 1c9c6a2947
commit e090dde1ea
6 changed files with 18 additions and 19 deletions

View File

@@ -23,8 +23,7 @@ proc renderNavbar*(title, rss: string; req: Request): VNode =
icon "search", title="Search", href="/search"
if rss.len > 0:
icon "rss-feed", title="RSS Feed", href=rss
if "/search" notin path:
icon "bird", title="Open in Twitter", href=twitPath
icon "bird", title="Open in Twitter", href=twitPath
icon "info-circled", title="About", href="/about"
iconReferer "cog", "/settings", path, title="Preferences"