
<!DOCTYPE html>
<html lang="<?= m_get_session('lang') ? m_get_session('lang') : lang_is_default('lang_code') ?>">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <?php
      $langCode = m_get_session('lang') ? m_get_session('lang') : lang_is_default('lang_code');
      if (function_exists('render_seo_tags')) {
          render_seo_tags(isset($post) && is_array($post) ? $post : null, $langCode);
      } else {
          echo '<title>' . htmlspecialchars(settings('site_title', $langCode), ENT_QUOTES, 'UTF-8') . '</title>';
          echo '<meta name="description" content="' . htmlspecialchars(settings('seo_description', $langCode), ENT_QUOTES, 'UTF-8') . '">';
      }
    ?>
    <base href="<?= SITE_THEME_URL ?>/">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link rel="stylesheet" href="assets/css/style.css?v=<?=time()?>">
</head>
<body>


