This repository has been archived on 2023-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
Omphaloskepsis/header.php

37 lines
1.5 KiB
PHP
Raw Normal View History

2018-03-21 18:19:20 +00:00
<?php
/**
* The template for displaying the header.
*
* @package Omphaloskepsis
* @since Omphaloskepsis 1.0
*/
2018-03-21 18:19:20 +00:00
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js">
2021-01-23 14:41:19 +00:00
<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 ?>
2021-01-23 14:41:19 +00:00
</head>
2018-03-21 18:19:20 +00:00
2021-01-23 14:41:19 +00:00
<body <?php body_class(); ?> id="site-wrapper">
2021-04-07 06:28:21 +00:00
<?php if ( ! is_page_template( 'centred-page.php' ) && ! is_404() ) : ?>
2021-01-23 14:41:19 +00:00
<header id="site-header">
2021-01-09 11:13:06 +00:00
<nav id="site-header-nav">
2020-08-08 09:55:20 +00:00
<div class="site-header-nav-item"><a href="/"><h1>Ben Goldsworthy</a></div>
2022-04-12 21:35:14 +00:00
<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>
2021-01-09 11:13:06 +00:00
</nav>
2021-01-23 14:41:19 +00:00
</header>
<?php endif; ?>