2018-09-29 19:39:09 +00:00
|
|
|
doctype html
|
|
|
|
html
|
|
|
|
head
|
|
|
|
meta(http-equiv='X-UA-Compatible', content='IE=edge')
|
|
|
|
meta(charset='UTF-8')
|
|
|
|
meta(name='viewport', content='user-scalable=yes, width=device-width, initial-scale=1, maximum-scale=5')
|
2019-10-18 21:31:28 +00:00
|
|
|
meta(name='theme-color', content='#1976d2')
|
|
|
|
meta(name='msapplication-TileColor', content='#1976d2')
|
|
|
|
meta(name='msapplication-TileImage', content='/favicons/mstile-150x150.png')
|
2018-09-29 19:39:09 +00:00
|
|
|
title Wiki.js Setup
|
|
|
|
|
|
|
|
//- Favicon
|
2019-10-18 21:31:28 +00:00
|
|
|
link(rel='apple-touch-icon', sizes='180x180', href='/apple-touch-icon.png')
|
2018-09-29 19:39:09 +00:00
|
|
|
link(rel='icon', type='image/png', sizes='192x192', href='/favicons/android-icon-192x192.png')
|
2019-10-18 21:31:28 +00:00
|
|
|
link(rel='icon', type='image/png', sizes='32x32', href='/favicons/favicon-32x32.png')
|
|
|
|
link(rel='icon', type='image/png', sizes='16x16', href='/favicons/favicon-16x16.png')
|
|
|
|
link(rel='mask-icon', href='/favicons/safari-pinned-tab.svg', color='#1976d2')
|
2018-09-29 19:39:09 +00:00
|
|
|
link(rel='manifest', href='/manifest.json')
|
|
|
|
|
|
|
|
//- Site Lang
|
|
|
|
script.
|
|
|
|
var siteConfig = !{JSON.stringify({ title: config.title })}
|
|
|
|
|
2020-01-26 04:12:57 +00:00
|
|
|
//- Dev Mode Warning
|
|
|
|
if devMode
|
|
|
|
script.
|
|
|
|
siteConfig.devMode = true
|
|
|
|
|
2018-09-29 19:39:09 +00:00
|
|
|
//- CSS
|
|
|
|
<% for (var index in htmlWebpackPlugin.files.css) { %>
|
|
|
|
link(
|
|
|
|
type='text/css'
|
|
|
|
rel='stylesheet'
|
|
|
|
href='<%= htmlWebpackPlugin.files.css[index] %>'
|
|
|
|
)
|
|
|
|
<% } %>
|
|
|
|
|
|
|
|
//- JS
|
|
|
|
<% for (var index in htmlWebpackPlugin.files.js) { %>
|
|
|
|
script(
|
|
|
|
type='text/javascript'
|
|
|
|
src='<%= htmlWebpackPlugin.files.js[index] %>'
|
|
|
|
)
|
|
|
|
<% } %>
|
|
|
|
|
|
|
|
body
|
|
|
|
#root
|
|
|
|
setup(telemetry-id=telemetryClientID, wiki-version=packageObj.version)
|