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}
|
2022-01-28 17:37:19 +01:00
|
|
|
// Version lisible des scripts : https://forge.chapril.org/Fab_Blab/WikiLerni/src/branch/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")
|
2022-01-28 17:37:19 +01:00
|
|
|
link(rel="alternate" type="application/atom+xml" title=config.siteName href="/atom.xml")
|
2020-08-07 12:23:59 +02:00
|
|
|
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}
|