Add canonical header to help search engines

Fixes #472
This commit is contained in:
Zed
2021-12-30 03:59:11 +01:00
parent 173dd8f016
commit eed4d4033f
3 changed files with 16 additions and 9 deletions

View File

@@ -158,7 +158,7 @@ proc getTwitterLink*(path: string; params: Table[string, string]): string =
path = "/search"
if "/search" notin path and query.fromUser.len < 2:
return $(twitter / path ? filterParams(params))
return $(twitter / path)
let p = {
"f": if query.kind == users: "user" else: "live",