The index.php is the page opened by your browser at your first access to the magazine
It can contains a list of articles of the last number published.
Accessible data:
An example of code:
<h1>People</h1>
<? foreach($this->people as $user) { ?>
<div class="date"><h4><?= $user->getName() ?></h4></div>
<div class="entry">
<? if ($user->imageExists()) { ?>
<img src="<?= URIMaker::fromBasePath($user->imagePath()) ?>" width="60" align="left">
<? } ?>
<?= $user->getBody() ?>
</div>
<? } ?>