Lingoberry head html

This commit is contained in:
Diego Najar 2017-08-06 22:19:21 +02:00
parent 06cc081a59
commit a8d701becb
1 changed files with 14 additions and 27 deletions

View File

@ -1,34 +1,21 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" >
<meta name="keywords" content="HTML,CSS,XML,JavaScript">
<title><?php echo $Site->title() ?></title>
<?php <?php
echo Theme::charset('utf-8');
echo Theme::viewport('width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no');
echo Theme::headTitle();
echo Theme::headDescription();
// CSS
echo Theme::css(array( echo Theme::css(array(
'css/style.css', 'css/style.css',
'css/bludit.css' 'css/bludit.css'
)); ));
// Javascript // JQuery from Bludit
echo Theme::javascript(array( echo Theme::jquery();
'jquery-1.12.0.min.js', echo Theme::js('js/jquery-migrate-1.2.1.min.js');
'jquery-migrate-1.2.1.min.js'
));
if($WHERE_AM_I == 'page') { echo '<link href="//fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic|Raleway:600,500,400" rel="stylesheet" type="text/css">';
Theme::keywords($Page->tags());
Theme::description($Page->description());
}
?>
<!-- Custom Fonts --> // Load plugins with the hook siteHead
<link href="//fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic|Raleway:600,500,400" rel="stylesheet" type="text/css"> Theme::plugins('siteHead');
?>
<!-- Favicon -->
<link rel="shortcut icon" href="<?php echo $Site->url() ?>favicon.png" type="image/x-icon">
<!-- Plugins in Site head -->
<?php Theme::plugins('siteHead') ?>