add icon and lang
This commit is contained in:
parent
1edb94ea6e
commit
1a4571f898
@ -29,7 +29,7 @@
|
|||||||
}:
|
}:
|
||||||
with html; ''
|
with html; ''
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
${html.html [
|
${html.html {lang = ctx.config.siteLang or "en";} [
|
||||||
(head (stylesheets
|
(head (stylesheets
|
||||||
++ [
|
++ [
|
||||||
(title titleStr)
|
(title titleStr)
|
||||||
@ -37,6 +37,10 @@
|
|||||||
name = "viewport";
|
name = "viewport";
|
||||||
content = "width=device-width, initial-scale=1";
|
content = "width=device-width, initial-scale=1";
|
||||||
})
|
})
|
||||||
|
(l.optionalString (ctx.config ? iconPath) (link {
|
||||||
|
rel = "icon";
|
||||||
|
href = "${ctx.baseurl}/${iconPath}";
|
||||||
|
}))
|
||||||
]))
|
]))
|
||||||
(body ''
|
(body ''
|
||||||
${script "0"}
|
${script "0"}
|
||||||
|
Loading…
Reference in New Issue
Block a user