1
0
mirror of https://github.com/restoreddev/phpapprentice.git synced 2025-08-13 02:04:26 +02:00

Added classes-constructor and removed description from templates

This commit is contained in:
Andrew Davis
2018-09-03 11:52:41 -05:00
parent bf108af8e3
commit 80a4cb5f4b
5 changed files with 58 additions and 16 deletions

View File

@@ -5,7 +5,7 @@
<meta charset="utf-8">
<title><?= $title ?? 'PHP Apprentice' ?></title>
<meta name="description" content="<?= $description ?? 'A site for learning how to use PHP'?>">
<meta name="description" content="<?= $subtitle ?? 'A site for learning how to use PHP' ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/css/site.css">

View File

@@ -14,6 +14,7 @@
<li><a href="<?= page_path('classes') ?>">Classes: Introduction</a></li>
<li><a href="<?= page_path('classes-inheritance') ?>">Classes: Inheritance</a></li>
<li><a href="<?= page_path('classes-visibility') ?>">Classes: Visibility</a></li>
<li><a href="<?= page_path('classes-constructor') ?>">Classes: Constructor</a></li>
</ol>
<a href="<?= page_path('credits') ?>">Credits</a>
</div>

View File

@@ -1,4 +1,4 @@
<?php partial('header', ['title' => $title, 'description' => $description]) ?>
<?php partial('header', ['title' => $title, 'subtitle' => $subtitle]) ?>
<div class="menu">
<button class="menu-button" title="Open Menu">