|
|
@@ -14,26 +14,9 @@
|
|
|
<?php if ( is_singular() ) echo '<link rel="canonical" href="' . get_permalink() . '" />'; ?>
|
|
|
</head>
|
|
|
<body <?php page_bodyclass(); ?>>
|
|
|
-<header id="header">
|
|
|
- <div class="navbar fixed-top">
|
|
|
- <div class="container">
|
|
|
- <div class="site-title">
|
|
|
- <a href="#offcanvasNav" class="navbar-brand navbar-right light" data-bs-toggle="offcanvas" data-bs-target="#offcanvasNav" aria-controls="offcanvasNav" title="David A. Windham" rel="home">David A. Windham</a>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-</header>
|
|
|
-<div class="offcanvas offcanvas-top text-bg-blue" tabindex="-1" id="offcanvasNav" aria-labelledby="offcanvasNavLabel">
|
|
|
- <nav class="d-flex justify-content-center" role="navigation">
|
|
|
- <ul class="nav list-group list-group-horizontal pt-3 fs-5">
|
|
|
- <li class="list-group-item list-group-flush"><a href="<?php echo home_url( '/' ); ?>"><i class="bi bi-house"></i></a></li>
|
|
|
- <li class="list-group-item"><a href="<?php echo home_url( '/' ); ?>about"><i class="bi bi-person"></i> About</a></li>
|
|
|
- <li class="list-group-item"><a href="<?php echo home_url( '/' ); ?>contact"><i class="bi bi-envelope"></i> Contact</a></li>
|
|
|
- <li class="list-group-item"><a href="<?php echo home_url( '/' ); ?>desk"><i class="bi bi-pen"></i> Desk</a></li>
|
|
|
- <li class="list-group-item"><a href="<?php echo home_url( '/' ); ?>now"><i class="bi bi-hourglass"></i> Now</a></li>
|
|
|
- <li class="list-group-item"><a href="<?php echo home_url( '/' ); ?>studio"><i class="bi bi-lightbulb"></i> Studio</a></li>
|
|
|
- <li class="list-group-item"><a href="<?php echo home_url( '/' ); ?>work"><i class="bi bi-briefcase"></i> Work</a></li>
|
|
|
- <li class="list-group-item"><a href="<?php echo home_url( '/' ); ?>sitemap"><i class="bi bi-diagram-3"></i></a></li>
|
|
|
- </ul>
|
|
|
- </nav>
|
|
|
-</div>
|
|
|
+<?php
|
|
|
+/* Header chrome (navbar + offcanvas nav) lives in parts/header.html (block template
|
|
|
+ part), shared with the FSE flip; rendered here for the classic theme. The document
|
|
|
+ <head> + <body> open stay in PHP — they can't live in a block part. */
|
|
|
+block_template_part( 'header' );
|
|
|
+?>
|