Title: Variables for themes Content: ## Object $Site The object $Site have all the information from the database /content/databases/site.php. Print the site title
echo $Site->title();
Print the site slogan
echo $Site->slogan();
## Object $Page
Print the page title
echo $Page->title();
Print the page content
echo $Page->content();
Print the page username
echo $Page->username();
Get the date in unix timestamp
$time = $Page->unixstamp();
// Format time
echo date('Y-m-d', $time);
Print the page date, according to locale settings and format settings.
echo $Page->date();
Print the page date with a different format.
$format = 'Y-m-d';
echo $Page->date($format);
Time ago
echo $Page->timeago();
Get the slug url.
$slug = $Page->slug();
Get the page permalink.
$permalink = $Page->permalink();
Get the page status, this method returns TRUE if the page is published, FALSE otherwise.
if( $Page->published() )
{
echo 'Page published';
}
else
{
echo 'Page draft';
}