<!DOCTYPE html>
<html lang="fr">
    <head>

        <meta charset="utf-8"/>

        <title>{$site_name}</title>

        <!-- On ouvre la fenêtre à la largeur de l'écran -->
        <meta name="viewport" content="width=device-width, initial-scale=1.0"/>

        <!-- logo -->
        <link rel="icon" type="image/svg" href="img/logo.svg" />

        <!-- Intégration des fichiers CSS -->
        {foreach from=$cssFiles item=file}
        <link href="{$file}?gitVS={$gitVS.short}" rel="stylesheet" media="all">
        {/foreach}
        
        <!-- Intégration des fichiers JS -->
        {foreach from=$jsFiles item=file}
        <script src="{$file}?gitVS={$gitVS.short}"></script>
        {/foreach}
        <script>var current_page = "{$page}"; </script>
    </head>
    <body id="body" lang="{$lang}">
        {if !$noMenu}
            <!-- Main Navbar -->
            {include file='structure/topBar.tpl'}
            <!-- end Main Navbar -->
        
            {if $secondbar!=""}
            <!-- Second Navbar -->
            {include file=$secondbar}
            <!-- end Second Navbar -->
            {/if}

            <!-- Page Container -->
            <div class="container-fluid mainPage">
                {/if}
                {if (isset($debug) && $debug|@count>0) || (isset($errors) && $errors|@count>0)}<div class="msg">{include file='structure/msg.tpl'}</div>{/if}
