bludit/themes/pure/php/head.php

52 lines
1.3 KiB
PHP
Raw Normal View History

2015-05-15 00:07:45 +02:00
<?php
Theme::charset('UTF-8');
Theme::viewport();
// <title>Site title</title>
Theme::title( $Site->title() );
2015-03-08 18:02:59 +01:00
2015-05-15 00:07:45 +02:00
// <meta name="description" content="Site description">
Theme::description( $Site->description() );
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() );
}
elseif( $Url->whereAmI()=='page' ) {
Theme::keywords( $Page->tags() );
}
2015-05-15 00:07:45 +02:00
// <link rel="stylesheet" type="text/css" href="pure-min.css">
// <link rel="stylesheet" type="text/css" href="grids-responsive-min.css">
// <link rel="stylesheet" type="text/css" href="blog.css">
// <link rel="stylesheet" type="text/css" href="rainbow.github.css">
Theme::css(array(
'pure-min.css',
'grids-responsive-min.css',
'blog.css',
'rainbow.github.css'
));
2015-03-08 18:02:59 +01:00
2015-05-15 00:07:45 +02:00
Theme::css(array(
2015-05-19 01:22:05 +02:00
'http://fonts.googleapis.com/css?family=Open+Sans:400,300,600&subset=latin,cyrillic-ext,greek-ext,greek,vietnamese,cyrillic,latin-ext'
2015-05-15 00:07:45 +02:00
), '');
2015-03-08 18:02:59 +01:00
2015-05-15 00:07:45 +02:00
// <script src="rainbow.min.js"></script>
Theme::javascript(array(
'rainbow.min.js'
));
?>
2015-03-08 18:02:59 +01:00
2015-05-19 01:22:05 +02:00
<!-- Pure and Google Fonts -->
2015-03-08 18:02:59 +01:00
<style>
html, button, input, select, textarea,
.pure-g [class *= "pure-u"] {
2015-05-19 01:22:05 +02:00
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 -->
2015-08-07 04:13:55 +02:00
<?php Theme::plugins('siteHead') ?>