<?php /** * The template for displaying the header. * * @package Omphaloskepsis * @since Omphaloskepsis 1.0 */ ?> <!DOCTYPE html> <html <?php language_attributes(); ?> class="no-js"> <head> <meta charset="<?php bloginfo( 'charset' ); ?>"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="robots" content="noindex"> <link rel="profile" href="http://gmpg.org/xfn/11"> <?php if ( is_singular() && pings_open( get_queried_object() ) ) : ?> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>"> <?php endif; ?> <?php wp_head(); ?> <?php // phpcs:disable WordPress.WP.EnqueuedResources ?> <script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script> <?php // phpcs:enable ?> </head> <body <?php body_class(); ?> id="site-wrapper"> <?php if ( ! is_page_template( 'centred-page.php' ) && ! is_404() ) : ?> <header id="site-header"> <nav id="site-header-nav"> <div class="site-header-nav-item"><a href="/"><h1>Ben Goldsworthy</a></div> <div class="site-header-nav-item"><h2>Views my own. Discussion ≠ endorsement. Do try this at home. New site in progress.</h2></div> <div class="site-header-nav-item"><p>~ <a href="mailto:me+bg@bengoldsworthy.net"><i class="fa fa-envelope"></i></a> ~ <a href="https://github.com/Rumperuu"><i class="fa fa-github"></i></a> ~ <a href="/bengoldsworthy.asc"><i class="fa fa-key"></i></a> ~ <a href="/feed"><i class="fa fa-rss"></i></a> ~</p></div> </nav> </header> <?php endif; ?>