WikiLerni/views/wikilerni/home.pug

30 lines
1.2 KiB
Plaintext

extends layout.pug
block append scripts
script(src="/JS/polyfill.app.js" defer)
script(src="/JS/index.app.js" defer)
block append css
link(rel="stylesheet" href="/themes/wikilerni/css/list.css" media="screen and (min-width: 751px)")
link(rel="stylesheet" href="/themes/wikilerni/css/list-mobile.css" media="screen and (max-width: 750px)")
block content
div(id="prompt" class="cardboard")
p
img(id="logo" src="/themes/wikilerni/img/wikilerni-purple-2-512.png" alt="Logo WikiLerni")
h1(class="cardboard") #{config.siteName}
h2 #{configTpl.siteSlogan}
div#explanations(class="engraved framed")
h3 #{configTpl.homeTitle1}
p !{configTpl.homeP1}
h3 #{configTpl.homeTitle2}
p !{configTpl.homeP2}
p
a(href="/"+configTpl.aboutPage class="button cardboard" title=configTpl.homeBtnAboutTxt) #{configTpl.homeBtnAboutTxt}
p
a(href="/"+configTpl.subscribePage class="button cardboard" title=configTpl.homeBtnSubscribeTxt) #{configTpl.homeBtnSubscribeTxt}
- nbQuestionnairesList=configTpl.maxQuestionnairesSiteHomePage;
include includes/listing-questionnaires.pug