forked from ZwiiCMS-Team/ZwiiCMS
31 lines
1.4 KiB
PHP
31 lines
1.4 KiB
PHP
<!DOCTYPE html>
|
|
<html prefix="og: http://ogp.me/ns#" lang="<?php echo self::$i18n;?>">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<?php $this->showMetaTitle(); ?>
|
|
<?php $this->showMetaDescription(); ?>
|
|
<?php $this->showMetaType(); ?>
|
|
<?php $this->showMetaImage(); ?>
|
|
<?php $this->showFavicon(); ?>
|
|
<?php $this->showVendor(); ?>
|
|
<?php $this->showStyle(); ?>
|
|
<link rel="stylesheet" href="<?php echo helper::baseUrl(false); ?>core/layout/common.css">
|
|
<link rel="stylesheet" href="<?php echo helper::baseUrl(false); ?>core/layout/blank.css">
|
|
<link rel="stylesheet" href="<?php echo helper::baseUrl(false) . self::DATA_DIR; ?>theme.css?<?php echo md5_file(self::DATA_DIR.'theme.css'); ?>">
|
|
<link rel="stylesheet" href="<?php echo helper::baseUrl(false) . self::DATA_DIR; ?>custom.css?<?php echo md5_file(self::DATA_DIR.'custom.css'); ?>"></head>
|
|
<!-- Import des fontes en ligne -->
|
|
<?php
|
|
if ( file_exists(self::DATA_DIR.'fonts/fonts.html') ){
|
|
include_once(self::DATA_DIR . 'fonts/fonts.html');
|
|
} ?>
|
|
<!-- Import des fontes livrés dans des fichiers WOFF -->
|
|
<?php
|
|
if (file_exists(self::DATA_DIR.'fonts/fonts.css')): ?>
|
|
<link rel="stylesheet" href="<?php echo helper::baseUrl(false) . self::DATA_DIR;?>fonts/fonts.css?<?php echo md5_file(helper::baseUrl(false) . self::DATA_DIR . 'fonts/fonts.css'); ?>">
|
|
<?php endif; ?>
|
|
<body>
|
|
<?php $this->showContent(); ?>
|
|
<?php $this->showScript(); ?>
|
|
</body>
|
|
</html>
|