Different title and description for each page

This commit is contained in:
Divlo
2019-08-16 13:35:54 +02:00
parent 694bed6d59
commit c81b29e924
10 changed files with 86 additions and 17 deletions

View File

@ -1,3 +1,6 @@
<!-- Head Perso -->
<?php include("../../php/headPerso.php");?>
<!-- Header -->
<?php include("../../incl/header.php");?>
@ -6,8 +9,8 @@
<!-- Page Content -->
<div class="container">
<h1 class="mt-4 text-center"><span class="yellow-color">Météo</span> :</h1>
<p class="pt-3 text-center">Affiche la météo et l'heure local selon la ville.</p>
<h1 class="mt-4 text-center"><span class="yellow-color"><?php echo $title?></span> :</h1>
<p class="pt-3 text-center"><?php echo $description?></p>
<div class="form-group">
<label for="cityName">Entrez le nom d'une ville :</label>
<input name="cityName" type="text" id="cityName" placeholder="(e.g : Paris)" class="form-control">