-
Notifications
You must be signed in to change notification settings - Fork 8.2k
/
layout.pug
53 lines (47 loc) · 1.75 KB
/
layout.pug
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
doctype html
html.h-100
head
meta(charset='utf-8')
meta(http-equiv='X-UA-Compatible', content='IE=edge')
meta(name='viewport', content='width=device-width, initial-scale=1.0')
meta(name='csrf-token', content=_csrf)
title #{title} - Hackathon Starter
link(rel='shortcut icon', href='/favicon.png')
//link(rel='stylesheet', href='/css/bootstrap.min.css')
link(rel='stylesheet', href='/css/main.css')
link(rel='stylesheet', href='https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.css')
block head
body.d-flex.flex-column.h-100
include partials/header
.flex-shrink-0
.container.mt-3
include partials/flash
block content
include partials/footer
script(src='/js/lib/jquery.min.js')
script(src='/js/lib/bootstrap.min.js')
script(src='/js/main.js')
script(src='https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.js')
script(type="text/javascript").
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#f8f9fa"
},
"button": {
"background": "#343a40"
}
},
"position": "bottom-right",
"content": {
"href": "/privacy-policy.html"
}
});
// Google Analytics: change UA-XXXXX-X to be your site's ID
script.
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-XXXXX-X', 'auto');
ga('send', 'pageview');