Use old api to optimize photo rails

This commit is contained in:
Zed 2020-06-17 00:20:34 +02:00
commit 77da2e32c6
7 changed files with 38 additions and 41 deletions

View file

@ -87,7 +87,7 @@ proc genDate*(pref, state: string): VNode =
proc genImg*(url: string; class=""): VNode =
buildHtml():
img(src=getPicUrl(url), class=class, alt="Image")
img(src=getPicUrl(url), class=class, alt="")
proc getTabClass*(query: Query; tab: QueryKind): string =
result = "tab-item"