-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
55 lines (50 loc) · 2.18 KB
/
header.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="<?php if ( is_single() ) {
single_post_title('', true);
} else {
bloginfo('name'); echo " - "; bloginfo('description');
}
?>" />
<title><?php if (is_front_page()) { bloginfo('name'); echo " - "; bloginfo('description'); } else { wp_title( '-', true, 'right' ); } ?> Pablo Alonso</title>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/foundation.min.css" />
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/style.css" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<link href='http://fonts.googleapis.com/css?family=Raleway:400,500,900,700,600,300' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,500,900,700,600,300' rel='stylesheet' type='text/css'>
<script src="<?php bloginfo('template_directory'); ?>/js/vendor/modernizr.js"></script>
<?php wp_head(); ?>
</head>
<body>
<header id="site-header">
<div class="row">
<div class="small-11 small-centered columns">
<h1 class="text-center my-name">
<a href="<?php echo get_option('home'); ?>">
<strong>Pablo</strong> Alonso
</a>
</h1>
<div class="row">
<p class="small-12 medium-6 medium-centered large-7 columns text-center who-am-i">
Hi! I'm a Ruby on Rails and front-end web developer. I ♥ crafting great
user experiencies. I'm currently looking for new opportunities.<br>
<a href="mailto:<?php bloginfo('admin_email') ?>?subject=Hello!">Let's talk!</a>
</p>
</div>
</div>
</div>
<nav id="site-nav">
<?php
$defaults = array(
'theme_location' => 'header-menu',
'container' => false,
'menu_class' => 'centered-inline-list'
);
wp_nav_menu( $defaults );
?>
</nav>
</header>
<div id="content">