forked from compiler-explorer/compiler-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_layout.pug
More file actions
29 lines (24 loc) · 807 Bytes
/
_layout.pug
File metadata and controls
29 lines (24 loc) · 807 Bytes
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
doctype html
html(lang="en")
head
base(href=httpRoot)
block meta
include meta.pug
block styles
link(href=require("main.css") rel="stylesheet")
style#theme
body(class=extraBodyClass)
block content
#root
block footer
include templates.pug
block scripts
script(src=`${httpRoot}client-options.js?hash=${optionsHash}`)
div#config(extraOptions=encodeURIComponent(compilerExplorerOptions), httpRoot=httpRoot, staticRoot=staticRoot)
script
| if (window.navigator.userAgent.indexOf("Trident/") > 0) {
| var s = document.createElement("script");
| s.src = "!{require("es6-shim.min.js")}";
| document.head.appendChild(s);
| }
script(src=require("main.js"))