mirror of
https://github.com/danpros/htmly.git
synced 2026-04-19 12:06:22 +05:30
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:
parent
3d99e0afe8
commit
7de2b1b744
24 changed files with 291 additions and 272 deletions
|
|
@ -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()): ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue