2018-11-20 11:19:58 -08:00
|
|
|
doctype html
|
|
|
|
html(lang='en')
|
|
|
|
head
|
2019-11-17 12:54:24 -08:00
|
|
|
meta(name='viewport', content='width=device-width, initial-scale=1, user-scalable=no')
|
2019-11-17 12:46:08 -08:00
|
|
|
|
2020-10-29 11:14:38 -07:00
|
|
|
link(rel='manifest', href=`${_CC.config.base}manifest.json`)
|
|
|
|
link(rel='apple-touch-icon', href=`${_CC.config.base}img/logo.png`, sizes='1280x1280')
|
2021-09-13 17:24:28 -07:00
|
|
|
link(rel='shortcut icon', type='image/png', href=`${_CC.config.base}img/logo.png`)
|
2019-11-17 12:46:08 -08:00
|
|
|
|
2018-11-20 11:19:58 -08:00
|
|
|
if title
|
|
|
|
title #{config.siteTitle} - #{title}
|
|
|
|
else
|
|
|
|
title #{config.siteTitle}
|
2020-12-01 19:20:01 -08:00
|
|
|
link(rel='stylesheet', href=`${_CC.config.base}libraries/bulmaswatch/${_CC.config.bulmaswatch}/bulmaswatch.min.css`)
|
2020-12-01 18:39:11 -08:00
|
|
|
link(rel='stylesheet', href=`${_CC.config.base}libraries/fontawesome/css/all.css`)
|
|
|
|
link(rel='stylesheet', href=`${_CC.config.base}libraries/animate.min.css`)
|
2020-10-29 11:14:38 -07:00
|
|
|
link(rel='stylesheet', href=`${_CC.config.base}css/main.css`)
|
2018-11-20 11:19:58 -08:00
|
|
|
body
|
2019-12-03 13:42:51 -08:00
|
|
|
.print
|
|
|
|
.content
|
2019-12-03 14:42:38 -08:00
|
|
|
section.section(style='padding-bottom: 0;')
|
2019-12-03 13:42:51 -08:00
|
|
|
.container.is-marginless.fullwidth
|
|
|
|
block print
|
|
|
|
style.
|
|
|
|
.print { display: none !important; }
|
|
|
|
.notprint { display: block !important; }
|
|
|
|
@media print {
|
|
|
|
.notprint-padding { display: none; }
|
|
|
|
nav { display: none}
|
|
|
|
}
|
|
|
|
.notprint
|
|
|
|
include includes/navbar.pug
|
|
|
|
div.content.has-navbar-fixed-top#pageContent
|
|
|
|
div.notprint-padding(style='margin-top: 1.5em;')
|
|
|
|
section.section
|
|
|
|
div.container.is-marginless.fullwidth
|
|
|
|
block title
|
|
|
|
if title
|
|
|
|
h1= config.siteTitle + ' - ' + title
|
|
|
|
else if title !== false
|
|
|
|
h1 #{config.siteTitle}
|
|
|
|
include includes/messages.pug
|
2021-09-13 20:13:19 -07:00
|
|
|
block content
|
|
|
|
if req.user && req.user.admin && _CC.updateNotice
|
|
|
|
.columns
|
|
|
|
.column
|
|
|
|
.column.is-narrow
|
|
|
|
.box
|
|
|
|
span.has-text-danger.is-size-4.has-text-weight-bold Christmas Community is out of date. There may be new features or bug fixes. Consider updating! :)
|
|
|
|
br
|
|
|
|
span (you can turn this off with <code>UPDATE_CHECK=false</code>)
|
|
|
|
span.has-text-info(style='float: right;') This message is only visible to admins
|