21 lines
630 B
PHP
21 lines
630 B
PHP
|
<?php namespace ProcessWire;
|
||
|
|
||
|
/** @var Page $page */
|
||
|
/** @var Pages $pages */
|
||
|
/** @var Config $config */
|
||
|
|
||
|
?><!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
<title><?php echo $page->title; ?></title>
|
||
|
<link rel="stylesheet" type="text/css" href="<?php echo $config->urls->templates; ?>css/main.css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<?php if($page->editable()): ?>
|
||
|
<p><a href='<?php echo $page->editUrl(); ?>'>Edit this page</a></p>
|
||
|
<?php endif; ?>
|
||
|
<script src="<?php echo $config->urls->templates; ?>js/main.js"></script>
|
||
|
</body>
|
||
|
</html>
|