2020-08-07 12:23:59 +02:00
|
|
|
doctype html
|
|
|
|
html(lang=(pageLang) ? pageLang : config.adminLang)
|
|
|
|
head
|
|
|
|
meta(charset="utf-8")
|
|
|
|
meta(name="viewport" content="width=device-width, initial-scale=1.0")
|
|
|
|
if(metaDescription)
|
|
|
|
meta(name="description" content=metaDescription)
|
|
|
|
if(metaRobots)
|
|
|
|
meta(name="robots" content=metaRobots)
|
|
|
|
if(author)
|
|
|
|
meta(name="author" content=author)
|
|
|
|
if(pageTitle)
|
|
|
|
title #{pageTitle}
|
|
|
|
else
|
|
|
|
title #{config.siteName}
|
|
|
|
base(href=config.siteUrl)
|
2020-08-10 16:46:02 +02:00
|
|
|
// Version lisible des scripts : https://gitlab.com/lefablab/wikilerni/-/tree/master/front/src
|
2020-08-07 12:23:59 +02:00
|
|
|
block scripts
|
2020-09-04 12:58:44 +02:00
|
|
|
link(rel="stylesheet" href="/themes/wikilerni/css/style.css")
|
2020-08-07 12:23:59 +02:00
|
|
|
block css
|
|
|
|
link(rel="shortcut icon" href="/img/favicon.ico")
|
|
|
|
link(rel="apple-touch-icon" sizes="57x57" href="/img/apple-icon-57x57.png")
|
|
|
|
link(rel="icon" type="image/png" sizes="192x192" href="/img/android-icon-192x192.png")
|
|
|
|
link(rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png")
|
|
|
|
if(linkCanonical)
|
|
|
|
link(rel="canonical" href=linkCanonical)
|
|
|
|
|
|
|
|
|
|
|
|
body(class="cardboard")
|
|
|
|
|
|
|
|
header(class="cardboard")
|
|
|
|
a(href="/" title=configTpl.homePageTxt)
|
|
|
|
img(src="/themes/wikilerni/img/wikilerni-purple-2-128.png" alt=config.siteName+" (logo)")
|
|
|
|
ul(id="headLinks")
|
|
|
|
- const nbItemHead=configTpl.headLinks.length; const lang=config.adminLang+"";
|
|
|
|
for item in configTpl.headLinks
|
2020-09-04 12:58:44 +02:00
|
|
|
li
|
|
|
|
a(href="/"+item.url)&attributes(item.attributes) #{item.anchor}
|
2020-08-07 12:23:59 +02:00
|
|
|
|
|
|
|
block content
|
|
|
|
|
|
|
|
- const nbItemFoot = configTpl.footLinks.length;
|
|
|
|
footer(class="cardboard")
|
|
|
|
ul(id="footLinks")
|
|
|
|
for item in configTpl.footLinks
|
|
|
|
li
|
|
|
|
a()&attributes(item.attributes) #{item.anchor}
|