mirror of https://github.com/requarks/wiki
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
2.4 KiB
83 lines
2.4 KiB
5 years ago
|
doctype html
|
||
2 years ago
|
html(lang=siteConfig.lang)
|
||
5 years ago
|
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')
|
||
5 years ago
|
meta(name='theme-color', content='#1976d2')
|
||
|
meta(name='msapplication-TileColor', content='#1976d2')
|
||
5 years ago
|
meta(name='msapplication-TileImage', content='/_assets/favicons/mstile-150x150.png')
|
||
5 years ago
|
|
||
|
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
|
||
5 years ago
|
link(rel='apple-touch-icon', sizes='180x180', href='/_assets/favicons/apple-touch-icon.png')
|
||
2 years ago
|
link(rel='icon', type='image/png', sizes='192x192', href='/_assets/favicons/android-chrome-192x192.png')
|
||
5 years ago
|
link(rel='icon', type='image/png', sizes='32x32', href='/_assets/favicons/favicon-32x32.png')
|
||
|
link(rel='icon', type='image/png', sizes='16x16', href='/_assets/favicons/favicon-16x16.png')
|
||
|
link(rel='mask-icon', href='/_assets/favicons/safari-pinned-tab.svg', color='#1976d2')
|
||
|
link(rel='manifest', href='/_assets/manifest.json')
|
||
5 years ago
|
|
||
2 years ago
|
//- Site Properties
|
||
|
script.
|
||
|
var siteId = "!{siteId}"
|
||
|
var siteConfig = !{JSON.stringify(siteConfig)}
|
||
|
var siteLangs = !{JSON.stringify(langs)}
|
||
|
|
||
|
//- Dev Mode Warning
|
||
|
if devMode
|
||
|
script.
|
||
|
siteConfig.devMode = true
|
||
|
|
||
5 years ago
|
//- Icon Set
|
||
5 years ago
|
if config.theming.iconset === 'fa'
|
||
5 years ago
|
link(
|
||
|
type='text/css'
|
||
|
rel='stylesheet'
|
||
5 years ago
|
href='https://use.fontawesome.com/releases/v5.10.0/css/all.css'
|
||
5 years ago
|
)
|
||
|
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'
|
||
|
)
|
||
|
|
||
5 years ago
|
//- CSS
|
||
2 years ago
|
|
||
5 years ago
|
|
||
|
//- JS
|
||
2 years ago
|
|
||
|
|
||
|
script(
|
||
|
type='text/javascript'
|
||
|
src='/_assets-legacy/js/runtime.js'
|
||
|
)
|
||
|
|
||
|
|
||
|
|
||
5 years ago
|
script(
|
||
|
type='text/javascript'
|
||
2 years ago
|
src='/_assets-legacy/js/app.js'
|
||
5 years ago
|
)
|
||
2 years ago
|
|
||
|
|
||
5 years ago
|
|
||
|
!= analyticsCode.head
|
||
|
|
||
5 years ago
|
block head
|
||
5 years ago
|
|
||
|
body
|
||
|
!= analyticsCode.bodyStart
|
||
5 years ago
|
block body
|
||
5 years ago
|
!= analyticsCode.bodyEnd
|