back : add main pages
This commit is contained in:
parent
73668b049f
commit
85a3f0f7be
15 changed files with 60 additions and 0 deletions
15
site/snippets/header.php
Normal file
15
site/snippets/header.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="<?= url('assets/style.css') ?>?version-cache-prevent<?= rand(0, 1000)?>">
|
||||
<title>
|
||||
<?php if ($page->isHomePage() == false): ?>
|
||||
<?= $page->title() ?> |
|
||||
<?php endif ?>
|
||||
<?= $site->title() ?>
|
||||
</title>
|
||||
</head>
|
||||
<body data-template="<?= $page->template() ?>">
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue