<?php

global $variables;

$data = MetaHandler::get_data();

?>

<!DOCTYPE html>
<html lang="<?= LANG?>" dir="ltr">
  <head>
    <?php include('tpl/metas.php'); ?>
    <title><?= $data['title'] ?></title>
  </head>
  <body <?php if ( isset($data['body_class']) ) echo 'class="legal"'; ?>>
    <main id="main">
