diff options
Diffstat (limited to 'public/app/views/templates/page.php')
| -rw-r--r-- | public/app/views/templates/page.php | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/public/app/views/templates/page.php b/public/app/views/templates/page.php deleted file mode 100644 index 6afe45e..0000000 --- a/public/app/views/templates/page.php +++ /dev/null @@ -1,64 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title><?=SITE_TITLE?> - <?=$page['title']?></title> - - <?php // header includes - //////////////////////////////////////////////////////////////////////// - Render::view('components/header_includes'); - ?> - -</head> -<body class="classroom"> - - <?php // top-bar - //////////////////////////////////////////////////////////////////////// - Render::view('components/top_bar', [ - 'id' => 0, - 'label' => '', - 'parents' => [] - ]); - ?> - - - <div class="main-content container page-container"> - - - <div class="lesson-view"> - - <!-- page Title --> - <h3> - <?=$page['title']?> - </h3> - - <!-- page body --> - <div class="article-body"> - <?php - - $parsedown = new Parsedown(); - echo $parsedown->text($page['body']); - - ?> - </div> - - - </div> - - </div> - - <footer> - <div class="container"> - - <?php // render footer - //////////////////////////////////////////////////////////////// - Render::view('components/footer', [ 'entity' => $entity ]); - ?> - - </div> - </footer> - - <script src="/assets/js/classroom.js"></script> - <script src="/assets/js/lesson-features.js"></script> -</body> -</html> |
