mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-02 14:27:32 -06:00
33 lines
948 B
Plaintext
33 lines
948 B
Plaintext
doctype html
|
|
html(lang="en")
|
|
head
|
|
base(href=httpRoot)
|
|
|
|
block meta
|
|
include meta.pug
|
|
|
|
block styles
|
|
link(href=require("vendor.css") rel="stylesheet")
|
|
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("runtime.js"))
|
|
script(src=require("vendor.js"))
|
|
script(src=require("main.js"))
|