Skip to content

Instantly share code, notes, and snippets.

@yakubenko
Last active October 19, 2018 17:21
Show Gist options
  • Save yakubenko/f9372a93df60cd454132f6c7b68b99ea to your computer and use it in GitHub Desktop.
Save yakubenko/f9372a93df60cd454132f6c7b68b99ea to your computer and use it in GitHub Desktop.
default.ctp
<!DOCTYPE html>
<html>
<head>
<?= $this->Html->charset() ?>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>
$this->fetch('title') ?>
</title>
<?= $this->Html->meta('icon') ?>
<link href="https://fonts.googleapis.com/css?family=Roboto:400,500&amp;subset=cyrillic" rel="stylesheet">
<?= $this->Html->css('https://use.fontawesome.com/releases/v5.0.13/css/all.css',
['integrity' => 'sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp', 'crossorigin' => 'anonymous']) ?>
<?= $this->Html->css('/bootstrap/css/bootstrap.min.css') ?>
<?= $this->Html->css('style.css') ?>
<?= $this->fetch('meta') ?>
<?= $this->fetch('css') ?>
<?= $this->fetch('script') ?>
</head>
<body>
<div class="container" id="app">
<?= $this->Flash->render() ?>
<?= $this->fetch('content') ?>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment