christmas/views/layout.pug
2018-11-26 16:18:28 -05:00

31 lines
1.1 KiB
Text

doctype html
html(lang='en')
head
meta(name='viewport', content='width=device-width, initial-scale=1')
if title
title #{config.siteTitle} - #{title}
else
title #{config.siteTitle}
if config.useCDN
link(rel='stylesheet', href='https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.2/css/bulma.min.css')
link(
rel='stylesheet',
href='https://use.fontawesome.com/releases/v5.0.10/css/all.css',
integrity='sha384-+d0P83n9kaQMCwj8F4RJB66tzIwOKmrdb46+porD/OvrJ+37WqIM7UoBtwHO6Nlg',
crossorigin='anonymous'
)
else
link(rel='stylesheet', href='/libraries/css/bulma.min.css')
link(rel='stylesheet', href='/libraries/css/fontawesome.css')
link(rel='stylesheet', href='/css/main.css')
body
include includes/navbar.pug
div.content#pageContent
section.section
div.container.is-marginless.fullwidth
if title
h1= config.siteTitle + ' - ' + title
else if title !== false
h1 #{config.siteTitle}
include includes/messages.pug
block content