| doctype html |
| html(lang="en") |
| head |
| base(href=httpRoot) |
| include monaco.pug |
| include head.pug |
| body(class=extraBodyClass) |
| .navbar-default |
| .container-fluid |
| .navbar-header |
| a.navbar-brand(href="#" title="Compiler Explorer") |
| img.normal(src=require("site-logo.svg") height="50" width="165" alt="Compiler Explorer") |
| img.inverse(src=require("site-logo-inverse.svg") height="50" width="165" alt="Compiler Explorer") |
| if extraBodyClass === "beta" |
| img.beta-overlay(src=require("site-logo-beta.svg") height="50" width="165") |
| button(type="button" class="navbar-toggle collapsed" data-toggle="collapse" |
| data-target="#navbar-collapse" aria-expanded="false") |
| span.sr-only Toggle navigation |
| span.icon-bar |
| span.icon-bar |
| span.icon-bar |
| li.navbar-collapse.collapse#navbar-collapse |
| ul.nav.navbar-nav.navbar-left |
| li: a#add-editor(href="#" title="Click or drag to desired destination") Editor |
| li: a#add-diff(href="#" title="Click or drag to desired destination") Diff View |
| li.dropdown |
| a.dropdown-toggle(href="#" data-toggle="dropdown") More#[b.caret] |
| ul.dropdown-menu |
| li: a#setting(href="#" data-target="#settings" data-toggle="modal") Settings |
| li.divider |
| li: a#ui-reset(href="#") Reset (code and UI layout) |
| ul#motd.nav.navbar-nav.navbar-center.community-advert.hide |
| span.content |
| | Thanks for using Compiler Explorer |
| span.community-hide(title="Hide and never show again" aria-label="Close") |
| button.close(type="button" aria-hidden="true") × |
| ul.nav.navbar-nav.navbar-right |
| li: a#share(href="#") Share#[b.caret] |
| li.dropdown |
| a.dropdown-toggle(href="#" data-toggle="dropdown") Other#[b.caret] |
| ul.dropdown-menu.menu-other |
| li |
| a(href="https://www.patreon.com/bePatron?u=3691963" |
| title="Help Compiler Explorer - become a Patron" target="_blank" rel="noopener") |
| img(height="20" width="20" src=require("patreon_logo.png")) |
| | Become a Patron |
| if githubEnabled |
| li |
| a(href="https://github.com/mattgodbolt/compiler-explorer" |
| title="View the source on GitHub" target="_blank" rel="noopener") |
| img(height="20" width="20" src=require("GitHub-Mark-20px.png")) |
| | Source on GitHub |
| li |
| a(href="https://groups.google.com/forum/#!forum/compiler-explorer-discussion" |
| title="Join Compiler Explorer Public Google Group" target="_blank" rel="noopener") |
| img(height="20" width="20" src=require("Google-Groups-20px.png")) |
| | Mailing list |
| li: a(href="https://github.com/mattgodbolt/compiler-explorer/wiki/Installed-libraries" target="_blank" rel="noopener") Installed libraries |
| li: a(href="https://github.com/mattgodbolt/compiler-explorer/wiki" target="_blank" rel="noopener") Wiki |
| li: a(href="https://github.com/mattgodbolt/compiler-explorer/issues" target="_blank" rel="noopener") Report an issue |
| li#thanks-to: a(href="#") Thanks to... |
| li: a(href="https://xania.org/201609/how-compiler-explorer-runs-on-amazon" target="_blank") How it works |
| li: a(href="mailto:matt@godbolt.org" target="_blank" rel="noopener noreferrer") Contact the author |
| li: a(href="https://xania.org/MattGodbolt" rel="author" target="_blank") About the author |
| li#changes: a(href="#") Changelog |
| if sharingEnabled |
| li#socialshare |
| if policies.cookies.enabled || policies.privacy.enabled |
| li.dropdown |
| a.dropdown-toggle(href="#" data-toggle="dropdown") Policies#[b.caret] |
| ul.dropdown-menu.menu-other |
| if policies.cookies.enabled |
| li#cookies: a(href="#") Cookie policy |
| if policies.privacy.enabled |
| li#privacy: a(href="#") Privacy policy |
| |
| #root |
| |
| |
| include templates.pug |
| |
| include popups.pug |