bludit/themes/pure/php/head.php

46 lines
1.2 KiB
PHP
Raw Normal View History

2015-09-21 20:37:04 -03:00
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo $Site->title() ?></title>
2015-05-14 22:07:45 +00:00
2015-09-21 20:37:04 -03: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 14:02:59 -03:00
2015-09-21 20:37:04 -03:00
// Favicon from theme/img/
Theme::favicon('favicon.png');
2015-03-08 14:02:59 -03:00
2015-07-06 19:22:03 -03:00
// <meta name="keywords" content="HTML,CSS,XML,JavaScript">
if( $Url->whereAmI()=='post' ) {
Theme::keywords( $Post->tags() );
2015-11-11 18:13:32 -03:00
Theme::description( $Post->description() );
2015-07-06 19:22:03 -03:00
}
elseif( $Url->whereAmI()=='page' ) {
Theme::keywords( $Page->tags() );
2015-11-11 18:13:32 -03:00
Theme::description( $Page->description() );
}
else {
Theme::description( $Site->description() );
2015-07-06 19:22:03 -03:00
}
2015-05-14 22:07:45 +00:00
?>
2015-03-08 14:02:59 -03:00
2015-09-21 20:37:04 -03:00
<!-- Custom Fonts -->
<link href="http://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-05-18 23:22:05 +00:00
<!-- Pure and Google Fonts -->
2015-03-08 14:02:59 -03:00
<style>
2015-09-21 20:37:04 -03:00
html, button, input, select, textarea,
.pure-g [class *= "pure-u"] {
font-family: 'Open Sans', sans-serif;
}
2015-03-08 14:02:59 -03:00
</style>
2015-08-06 19:56:52 -03:00
<!-- Plugins Site Head -->
2015-09-21 20:37:04 -03:00
<?php Theme::plugins('siteHead') ?>