wikijs-fork/server/views/layout.pug

40 lines
1.3 KiB
Plaintext
Raw Normal View History

2016-08-17 03:56:08 +00:00
doctype html
html
2017-02-10 02:35:37 +00:00
head
meta(http-equiv='X-UA-Compatible', content='IE=edge')
meta(charset='UTF-8')
meta(name='viewport', content='width=device-width, initial-scale=1')
meta(name='theme-color', content='#009688')
meta(name='msapplication-TileColor', content='#009688')
meta(name='msapplication-TileImage', content='/favicons/ms-icon-144x144.png')
title= appconfig.title
2016-08-17 03:56:08 +00:00
2017-05-21 03:21:16 +00:00
//- Favicon
2017-02-10 02:35:37 +00:00
each favsize in [57, 60, 72, 76, 114, 120, 144, 152, 180]
link(rel='apple-touch-icon', sizes=favsize + 'x' + favsize, href='/favicons/apple-icon-' + favsize + 'x' + favsize + '.png')
link(rel='icon', type='image/png', sizes='192x192', href='/favicons/android-icon-192x192.png')
each favsize in [32, 96, 16]
link(rel='icon', type='image/png', sizes=favsize + 'x' + favsize, href='/favicons/favicon-' + favsize + 'x' + favsize + '.png')
link(rel='manifest', href='/manifest.json')
2016-08-17 03:56:08 +00:00
2017-05-21 03:21:16 +00:00
//- Site Lang
2017-05-21 22:58:19 +00:00
script.
var siteLang = '!{appconfig.lang}';
var siteRoot = '!{appconfig.host}';
2017-05-21 03:21:16 +00:00
//- JS / CSS
//- script(type='text/javascript', src='/js/libs.min.js')
2017-05-13 21:03:32 +00:00
script(type='text/javascript', src='/js/app.min.js')
2017-02-10 02:35:37 +00:00
block head
2016-08-17 03:56:08 +00:00
2017-02-10 02:35:37 +00:00
body
#root.has-stickynav
include ./common/header.pug
alert
2017-02-10 02:35:37 +00:00
main
block content
include ./common/footer.pug
2016-08-17 03:56:08 +00:00
2017-02-10 02:35:37 +00:00
block outside