This repository has been archived on 2022-08-01. You can view files and clone it, but cannot push or open issues or pull requests.
Oldphaloskepsis/page-home.php
2017-04-11 07:22:35 +00:00

59 lines
2 KiB
PHP

<?php
/**
* The template for displaying pages
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages and that
* other "pages" on your WordPress site will use a different template.
*
* @package WordPress
* @subpackage Twenty_Sixteen
* @since Twenty Sixteen 1.0
*/
get_header(); ?>
<div id="content" class="site-content">
<main id="main" class="site-main wrapper-home" role="main">
<img id="main-background" src="<?php the_post_thumbnail_url(); ?>);">
<?php
// Start the loop.
while ( have_posts() ) : the_post();
?>
<header class="row" id="header-row">
<div class="col-m-3">
<div id="frontpage-img-wrapper">
<img id="frontpage-img" src="<?php the_post_thumbnail_url(); ?>" alt="A picture of Ben Goldsworthy">
</div>
</div>
<div class="page-header col-7 col-m-9">
<h1 id="website-title">Ben Goldsworthy</h1>
<h2 id="page-subtitle">
~
<a href="mailto:me@bengoldsworthy.uk"><i class="fa fa-envelope"></i></a> ~
<a href="bitcoin:1HApEg2robrRCx4rTKKeFj25unoaX65QUc"><i class="fa fa-btc"></i></a> ~
<a href="https://uk.linkedin.com/in/rumperuu"><i class="fa fa-linkedin"></i></a> ~
<a href="https://github.com/Rumperuu"><i class="fa fa-github"></i></a> ~
<a href="/pub.asc"><i class="fa fa-key"></i> 30D22F41</a>
~
</h2>
</div>
</header>
<div class="row">
<div class="col-1" style="visibility: hidden;">.</div>
<div class="col-5" id="intro-text">
<?php the_content(); ?>
</div>
</div>
<?php
endwhile;
?>
</main><!-- .site-main -->
<?php get_sidebar( 'content-bottom' ); ?>
</div><!-- .content-area -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>