| link(rel="icon" href="favicon.ico?v=1") |
| meta(charset="utf-8") |
| meta(http-equiv="X-UA-Compatible" content="IE=edge") |
| if metadata && metadata.ogDescription |
| meta(name="twitter:card" content="summary") |
| meta(name="description" content=metadata.ogDescription) |
| if metadata.ogAuthor && metadata.ogAuthor !== '.' |
| meta(property="og:description" content=metadata.ogDescription + ". Author(s): " + metadata.ogAuthor) |
| else |
| meta(property="og:description" content=metadata.ogDescription) |
| meta(property="og:image" content=request("ce-icon.png")) |
| meta(property="og:image:secure_url" content=request("ce-icon.png")) |
| meta(property="og:image:type" content="image/png") |
| meta(property="og:image:width" content="145") |
| meta(property="og:image:height" content="145") |
| else |
| meta(name="description" content="Compiler Explorer is an interactive online compiler which shows the assembly output of compiled C, C++, Rust, Go, D, Haskell, Swift & Pascal code.") |
| if metadata && metadata.ogTitle |
| meta(property="og:site_name" content="Compiler Explorer") |
| meta(property="og:title" content=metadata.ogTitle) |
| meta(name="twitter:site" content="@mattgodbolt") |
| |
| title Compiler Explorer - #{metadata.ogTitle} |
| else |
| title Compiler Explorer |
| meta(name="author" content="Matt Godbolt") |
| meta(name="google" content="nositelinkssearchbox") |
| meta(name="google" content="notranslate") |
| meta(id="meta-theme" name="theme-color" content="#f2f2f2") |
| link(href=require("main.css") rel="stylesheet") |
| style#theme |
| script window.compilerExplorerOptions = !{compilerExplorerOptions}; |
| script window.httpRoot = '#{httpRoot}'; |
| script(src=require("main.js")) |