Improve search endpoint compatibility

Fixes #63
This commit is contained in:
Zed
2019-10-08 13:45:47 +02:00
parent aa4f3f69bb
commit 1c9c6a2947
7 changed files with 15 additions and 15 deletions

View File

@@ -8,7 +8,7 @@ proc renderListTabs*(query: Query; path: string): VNode =
buildHtml(ul(class="tab")):
li(class=query.getTabClass(posts)):
a(href=(path)): text "Tweets"
li(class=query.getTabClass(users)):
li(class=query.getTabClass(userList)):
a(href=(path & "/members")): text "Members"
proc renderList*(body: VNode; query: Query; name, list: string): VNode =