| link(rel="icon" href=require('favicon.ico') + "?v=1") |
| meta(charset="utf-8") |
| meta(http-equiv="X-UA-Compatible" content="IE=edge") |
| |
| if metadata && metadata.ogDescription |
| 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) |
| 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:title" content=metadata.ogTitle) |
| title Compiler Explorer - #{metadata.ogTitle} |
| else |
| title Compiler Explorer |
| |
| meta(name="twitter:card" content="summary") |
| meta(name="twitter:site" content="@mattgodbolt") |
| meta(property="og:site_name" content="Compiler Explorer") |
| meta(property="og:image" content=require("ce-icon.png")) |
| meta(property="og:image:secure_url" content=require("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") |
| 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")) |