<!DOCTYPE html>
<html <?php language_attributes(); ?>>

<head>
	<meta charset="<?php bloginfo('charset'); ?>">
	<meta name="viewport" content="width=device-width">
	<link rel="profile" href="http://gmpg.org/xfn/11">
	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
	<?php wp_head(); ?>

</head>

<body <?php body_class(); ?>>
	<?php
	do_action('tailpress_site_before');
	global $post;
	?>

	<div id="page-<?php echo $post->post_name ?>" class="min-h-screen flex flex-col">

		<div class="skiplinks" aria-label="<?php echo __('Accès rapide', 'homegrade-theme__texte-fonctionnel') ?>">
			<a href="#content" class="skiplinks__link"><?php echo __('Contenu', 'homegrade-theme__texte-fonctionnel') ?></a>
		</div>
		<ul class="skiplinks">
			<li></li>
		</ul>

		<?php do_action('tailpress_header'); ?>

		<header id="main-header">




		</header>


		<?php if (is_front_page()) { ?>

		<?php } ?>

		<?php do_action('tailpress_content_start'); ?>


		<?php

		$thematique = get_the_terms(get_the_ID(), 'thematiques')[0];
		$thematiqueParent = getMainThematique($thematique);
		$thematiqueColorSlug = getThematiqueFamilySlug($thematiqueParent->slug);
		?>

		<main id="content" class="site-content flex-grow">