<?php

/**
 * Snippet: html-head
 * Params:
 *   $pageTitle  string  Full <title> value
 *   $extraCss   array   Optional additional CSS asset paths
 *   $bodyClass  string  Optional extra class(es) for <body>
 */
?>
<!doctype html>
<html lang="<?= $site->lang() ?>">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?php snippet('seo/head'); ?>

    <?= snippet('cookieconsentCss') ?>
    <?= snippet('favicon') ?>
    <?= css('assets/css/shared.css?' . time()) ?>
    <?= css('@auto') ?>
    <?php foreach ($extraCss ?? [] as $stylesheet): ?>
        <?= css($stylesheet) ?>
    <?php endforeach ?>
</head>