$page

Returns the current application page.

Table of Contents
  1. Description
  2. Example

Description

This variable is an instance of the Page class.

Example

<article id="page:<?= eat($page->id); ?>">
  <h2>
    <?= $page->title; ?>
  </h2>
  <?= $page->content; ?>
  <?php if ($link = $page->link): ?>
    <p>
      <a href="<?= eat($link); ?>" rel="nofollow" target="_blank">
        <?= i('Visit Link'); ?>
      </a>
    </p>
  <?php endif; ?>
</article>

$page

Returns the current application page.

$pager

Returns the current application pagination.

$pages

Returns the current application pages.