replace div.container by main.container

This commit is contained in:
Gaël Berthaud-Müller 2023-08-30 18:50:49 +02:00
parent df9a87d2cd
commit 6dc4c268c9
1 changed files with 2 additions and 2 deletions

View File

@ -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