Listing 11.10. W elemencie title pliku layout.php umieszczamy slot
<head>
    <?php include_http_metas() ?>
    <?php include_metas() ?>
    <?php include_stylesheets() ?>
    <?php include_javascripts() ?>
    <title>
        <?php if (has_slot('tytul')): ?>
            <?php include_slot('tytul') ?>
        <?php else: ?>
            Piosenki wojskowe
        <?php endif; ?>
    </title>
</head>