Templating Improvements

Move the title, description, and canonical from the head_contents for
better templating. Eg. for Twitter Card or OG.
This commit is contained in:
Danang Probo Sayekti 2015-07-12 11:28:38 +07:00
commit 7de2b1b744
24 changed files with 291 additions and 272 deletions

View file

@ -1,7 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<?php echo $head_contents ?>
<?php echo head_contents() ?>
<title><?php echo $title;?></title>
<meta name="description" content="<?php echo $description; ?>"/>
<link rel="canonical" href="<?php echo $canonical; ?>" />
<link href="<?php echo site_url() ?>themes/default/css/style.css" rel="stylesheet"/>
<link href='//fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
<?php if (publisher()): ?>