christmas/views/layout.pug

38 lines
1.4 KiB
Text
Raw Normal View History

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
link(rel='manifest', href='/manifest.json')
link(rel='apple-touch-icon', href='/img/logo.png', sizes='1280x1280')
2018-11-20 11:19:58 -08:00
if title
title #{config.siteTitle} - #{title}
else
title #{config.siteTitle}
2018-11-26 13:18:28 -08:00
if config.useCDN
link(rel='stylesheet', href='https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.2/css/bulma.min.css')
2018-11-20 11:19:58 -08:00
link(
rel='stylesheet',
2018-11-26 13:28:02 -08:00
href='https://use.fontawesome.com/releases/v5.5.0/css/all.css',
2018-11-20 11:19:58 -08:00
crossorigin='anonymous'
)
2019-11-17 15:05:45 -08:00
link(rel='stylesheet', href='https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css')
2018-11-26 13:18:28 -08:00
else
2018-11-26 13:28:02 -08:00
link(rel='stylesheet', href='/libraries/bulma.min.css')
link(rel='stylesheet', href='/libraries/fontawesome/css/all.css')
2019-11-17 15:05:45 -08:00
link(rel='stylesheet', href='/libraries/animate.min.css')
2018-11-26 13:18:28 -08:00
link(rel='stylesheet', href='/css/main.css')
2018-11-20 11:19:58 -08:00
body
include includes/navbar.pug
2019-11-17 15:22:35 -08:00
div.content.has-navbar-fixed-top#pageContent
div(style='margin-top: 1.5em;')
2018-11-20 11:19:58 -08:00
section.section
2018-11-23 14:29:40 -08:00
div.container.is-marginless.fullwidth
2018-11-20 11:19:58 -08:00
if title
h1= config.siteTitle + ' - ' + title
else if title !== false
h1 #{config.siteTitle}
include includes/messages.pug
block content