- Logo R entoure dans le header - Bouton Blog redirigeant vers blog.rdacet.fr - functions.php decoupe en modules inc/ (setup, helpers, data) - Page Templates deplaces dans templates/ avec filtre de compatibilite - README mis a jour avec la nouvelle structure du theme
49 lines
1.7 KiB
PHP
49 lines
1.7 KiB
PHP
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } ?>
|
|
<!DOCTYPE html>
|
|
<html <?php language_attributes(); ?>>
|
|
<head>
|
|
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="description" content="Portfolio de Romain Dacet — BTS SIO, technicien réseau. CV, lettre de motivation, projets et veille technologique.">
|
|
<?php wp_head(); ?>
|
|
</head>
|
|
<body <?php body_class(); ?>>
|
|
<?php wp_body_open(); ?>
|
|
|
|
<header class="site-header">
|
|
<div class="container">
|
|
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="site-logo">
|
|
<span class="logo-mark" aria-hidden="true">R</span>
|
|
<span class="site-title">
|
|
Romain Dacet
|
|
<small>Portfolio</small>
|
|
</span>
|
|
</a>
|
|
|
|
<div class="header-actions">
|
|
<nav class="main-nav" aria-label="Navigation principale">
|
|
<?php
|
|
if ( has_nav_menu( 'primary' ) ) {
|
|
wp_nav_menu( array(
|
|
'theme_location' => 'primary',
|
|
'container' => false,
|
|
'menu_class' => '',
|
|
'depth' => 1,
|
|
) );
|
|
} else {
|
|
prd_fallback_menu();
|
|
}
|
|
?>
|
|
</nav>
|
|
|
|
<a class="btn btn--blog" href="https://blog.rdacet.fr" target="_blank" rel="noopener">
|
|
Blog <span class="arrow-i" aria-hidden="true">↗</span>
|
|
</a>
|
|
|
|
<button class="nav-toggle" aria-label="Ouvrir le menu" aria-expanded="false">☰</button>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
<main id="site-main">
|