mirror of
https://github.com/zedeus/nitter.git
synced 2025-01-07 15:45:24 +00:00
replace div.container by main.container
This commit is contained in:
parent
df9a87d2cd
commit
6dc4c268c9
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ proc renderHead*(prefs: Prefs; cfg: Config; req: Request; titleText=""; desc="";
|
|||
var theme = prefs.theme.toTheme
|
||||
if "theme" in req.params:
|
||||
theme = req.params["theme"].toTheme
|
||||
|
||||
|
||||
let ogType =
|
||||
if video.len > 0: "video"
|
||||
elif rss.len > 0: "object"
|
||||
|
@ -134,7 +134,7 @@ proc renderMain*(body: VNode; req: Request; cfg: Config; prefs=defaultPrefs;
|
|||
body:
|
||||
renderNavbar(cfg, req, rss, canonical)
|
||||
|
||||
tdiv(class="container"):
|
||||
main(class="container"):
|
||||
body
|
||||
|
||||
result = doctype & $node
|
||||
|
|
Loading…
Reference in a new issue