$site

Returns the current application states.

Table of Contents
  1. Description
  2. Example

Description

This variable is an alias of the $state variable.

Example

<?php if ($site->is('home')): ?>
  <h1>
    <?= $site->title; ?>
  </h1>
<?php else: ?>
  <h1>
    <a href="<?= $url; ?>">
      <?= $site->title; ?>
    </a>
  </h1>
<?php endif; ?>

$date

Returns the current application date-time with current date-time as the input.

$layout

Returns information about the currently loaded layout file.

$lot

Returns the arguments from the layout loader.

$site

Returns the current application states.

$t

Returns the current application title.

$time

Returns the current application date-time with current date-time as the input.