b9cc263b527db2e77b7572655712f67b1a00ff88
[WebKit-https.git] / Websites / webkit.org / wp-content / themes / webkit / header.php
1 <!DOCTYPE html>
2 <html>
3 <head>
4     <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
5     <meta name="robots" content="noodp">
6
7     <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes, viewport-fit=cover">
8
9     <title><?php if ( is_front_page() ) echo "WebKit";
10         else { wp_title(''); echo ' | WebKit'; } ?></title>
11
12     <meta name="application-name" content="WebKit">
13
14     <link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_uri(); ?>?20171013" media="all">
15     <link rel="stylesheet" href="https://www.apple.com/wss/fonts?families=SF+Pro,v1" type="text/css">
16
17     <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>">
18     <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>">
19     <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>">
20     <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
21
22     <link rel="shortcut icon" sizes="32x32" type="image/x-icon" href="/favicon.ico">
23
24     <?php wp_head(); ?>
25 </head>
26 <body <?php body_class(); ?>>
27
28     <header aria-label="WebKit.org Header" id="header">
29         <div class="page-width">
30         <a href="/"><div id="logo" class="site-logo">WebKit</div></a>
31         <nav id="site-nav" aria-label="Site Menu">
32 <?php wp_nav_menu( array(
33 'walker'          => new Responsive_Toggle_Walker_Nav_Menu(),
34 'theme_location'  => 'site-nav',
35 'items_wrap'      => '<input type="checkbox" id="%1$s-toggle" class="menu-toggle" /><label for="%1$s-toggle" class="label-toggle main-menu" data-open="Main Menu" data-close="Close Menu"></label><ul id="%1$s" class="%2$s" role="menubar">%3$s</ul>',
36 ) ); ?></nav>
37         </div>
38     </header>
39
40 <?php
41 if ( is_front_page() )
42     include('front-header.php');
43 ?>
44 <main id="content">
45     <div class="page-width">