Content: Static

Contents

    This section is related to the content of static pages.

    Show all the static pages

    Bludit has a predefined variable for static pages named $staticContent. This variable is an array with all the static pages.

    <?php
        // Each static page is an Page-Object
        foreach ($staticContent as $page) {
            echo $page->title();
        }
    ?>