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

41 lines
1.9 KiB
PHP
Raw Normal View History

2018-03-21 18:19:20 +00:00
<?php
/**
2021-01-09 11:13:06 +00:00
* The template for displaying the header.
*
* @package WordPress
* @subpackage Omphaloskepsis
* @since Omphaloskepsis 1.0
*/
2018-03-21 18:19:20 +00:00
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js">
<head>
2021-01-09 11:13:06 +00:00
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php $index = get_post_meta( get_the_ID(), 'Index', true ); ?>
<?php if ( ! ( is_single() && ! is_page() && $index == 'true' ) ) : ?>
<meta name="robots" content="noindex">
2018-03-21 18:19:20 +00:00
<?php endif; ?>
2021-01-09 11:13:06 +00:00
<link rel="profile" href="http://gmpg.org/xfn/11">
2018-03-21 18:19:20 +00:00
<?php if ( is_singular() && pings_open( get_queried_object() ) ) : ?>
2021-01-09 11:13:06 +00:00
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
2018-03-21 18:19:20 +00:00
<?php endif; ?>
2021-01-09 11:13:06 +00:00
<?php wp_head(); ?>
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script>
2018-03-21 18:19:20 +00:00
</head>
<body <?php body_class(); ?> id="site-wrapper">
2021-01-09 11:13:06 +00:00
<?php if ( ! is_page_template( 'centred-page.php' ) ) : ?>
2018-03-21 18:19:20 +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>
<div class="site-header-nav-item"><h2>Views my own. Do try this at home.</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="bitcoin:1HApEg2robrRCx4rTKKeFj25unoaX65QUc"><i class="fa fa-btc"></i></a> ~ <a href="https://github.com/Rumperuu"><i class="fa fa-github"></i></a> ~ <a href="/0x30D22F41.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
<div class="site-header-nav-item"><a href="/blog">Blog</a></div>
2020-08-08 09:55:20 +00:00
<div class="site-header-nav-item"><a href="/portfolios">Portfolios</a></div>
<div class="site-header-nav-item"><a href="/social-cataloguing">Social Cataloguing</a></div>
2021-01-09 11:13:06 +00:00
</nav>
2018-03-21 18:19:20 +00:00
</header>
2021-01-09 11:13:06 +00:00
<?php endif; ?>