Skip to content

Instantly share code, notes, and snippets.

@favrik
Created June 6, 2011 11:16
Show Gist options
  • Save favrik/1010080 to your computer and use it in GitHub Desktop.
Save favrik/1010080 to your computer and use it in GitHub Desktop.
application/views/layout.php
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="keywords" content="<?php echo $meta_keywords ?>" />
<title>My Static Site - <?php echo $page_title ?></title>
</head>
<body>
<h1><?php echo $page_title ?></h1>
<?php if (isset($view)): ?>
<?php echo $view; ?>
<?php endif;?>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment