2019-07-13 03:56:44 +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')
|
2019-07-13 03:56:44 +00:00
|
|
|
|
|
|
|
title= pageMeta.title + ' | ' + config.title
|
|
|
|
|
|
|
|
//- SEO / OpenGraph
|
|
|
|
meta(name='description', content=pageMeta.description)
|
|
|
|
meta(property='og:title', content=pageMeta.title)
|
|
|
|
meta(property='og:type', content='website')
|
|
|
|
meta(property='og:description', content=pageMeta.description)
|
|
|
|
meta(property='og:image', content=pageMeta.image)
|
|
|
|
meta(property='og:url', content=pageMeta.url)
|
|
|
|
meta(property='og:site_name', content=config.title)
|
|
|
|
|
|
|
|
//- Favicon
|
2020-05-30 17:08:18 +00:00
|
|
|
link(rel='apple-touch-icon', sizes='180x180', href='/favicons/apple-touch-icon.png')
|
2019-07-13 03:56:44 +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')
|
2019-07-13 03:56:44 +00:00
|
|
|
link(rel='manifest', href='/manifest.json')
|
|
|
|
|
2019-07-13 05:45:03 +00:00
|
|
|
//- Icon Set
|
2019-07-29 04:50:03 +00:00
|
|
|
if config.theming.iconset === 'fa'
|
2019-07-13 05:45:03 +00:00
|
|
|
link(
|
|
|
|
type='text/css'
|
|
|
|
rel='stylesheet'
|
2019-08-25 02:19:35 +00:00
|
|
|
href='https://use.fontawesome.com/releases/v5.10.0/css/all.css'
|
2019-07-13 05:45:03 +00:00
|
|
|
)
|
|
|
|
else if config.theming.iconset === 'fa4'
|
|
|
|
link(
|
|
|
|
type='text/css'
|
|
|
|
rel='stylesheet'
|
|
|
|
href='https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css'
|
|
|
|
)
|
|
|
|
|
2019-07-13 03:56:44 +00:00
|
|
|
//- CSS
|
|
|
|
<% for (var index in htmlWebpackPlugin.files.css) { %>
|
|
|
|
link(
|
|
|
|
type='text/css'
|
|
|
|
rel='stylesheet'
|
|
|
|
href='<%= htmlWebpackPlugin.files.css[index] %>'
|
|
|
|
)
|
|
|
|
<% } %>
|
|
|
|
|
|
|
|
script(
|
|
|
|
crossorigin='anonymous'
|
|
|
|
src='https://polyfill.io/v3/polyfill.min.js?features=EventSource'
|
|
|
|
)
|
|
|
|
|
|
|
|
//- JS
|
|
|
|
<% for (var index in htmlWebpackPlugin.files.js) { %>
|
|
|
|
script(
|
|
|
|
type='text/javascript'
|
|
|
|
src='<%= htmlWebpackPlugin.files.js[index] %>'
|
|
|
|
)
|
|
|
|
<% } %>
|
|
|
|
|
|
|
|
!= analyticsCode.head
|
|
|
|
|
2019-07-13 19:15:35 +00:00
|
|
|
block head
|
2019-07-13 03:56:44 +00:00
|
|
|
|
|
|
|
body
|
|
|
|
!= analyticsCode.bodyStart
|
2019-07-13 19:15:35 +00:00
|
|
|
block body
|
2019-07-13 03:56:44 +00:00
|
|
|
!= analyticsCode.bodyEnd
|