bludit/bl-themes/pure/php/head.php

47 lines
1.2 KiB
PHP
Raw Normal View History

2015-09-22 01:37:04 +02:00
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo $Site->title() ?></title>
2015-05-15 00:07:45 +02:00
2015-09-22 01:37:04 +02:00
<?php
// CSS from theme/css/
Theme::css(array(
'pure-min.css',
'grids-responsive-min.css',
'blog.css',
'rainbow.github.css'
));
// Javascript from theme/js/
Theme::javascript('rainbow.min.js');
2015-03-08 18:02:59 +01:00
2015-09-22 01:37:04 +02:00
// Favicon from theme/img/
Theme::favicon('favicon.png');
2015-03-08 18:02:59 +01:00
2015-07-07 00:22:03 +02:00
// <meta name="keywords" content="HTML,CSS,XML,JavaScript">
if( $Url->whereAmI()=='post' ) {
Theme::keywords( $Post->tags() );
2015-11-11 22:13:32 +01:00
Theme::description( $Post->description() );
2015-07-07 00:22:03 +02:00
}
elseif( $Url->whereAmI()=='page' ) {
Theme::keywords( $Page->tags() );
2015-11-11 22:13:32 +01:00
Theme::description( $Page->description() );
}
else {
Theme::description( $Site->description() );
2015-07-07 00:22:03 +02:00
}
2015-05-15 00:07:45 +02:00
?>
2015-03-08 18:02:59 +01:00
2015-09-22 01:37:04 +02:00
<!-- Custom Fonts -->
2015-11-29 00:21:04 +01:00
<link href="//fonts.googleapis.com/css?family=Open+Sans:400,300,600&subset=latin,cyrillic-ext,greek-ext,greek,vietnamese,cyrillic,latin-ext" rel="stylesheet" type="text/css">
2015-09-22 01:37:04 +02:00
2015-05-19 01:22:05 +02:00
<!-- Pure and Google Fonts -->
2015-03-08 18:02:59 +01:00
<style>
2015-09-22 01:37:04 +02:00
html, button, input, select, textarea,
.pure-g [class *= "pure-u"] {
font-family: 'Open Sans', sans-serif;
}
2015-03-08 18:02:59 +01:00
</style>
2015-08-07 00:56:52 +02:00
<!-- Plugins Site Head -->
<?php Theme::plugins('siteHead') ?>