Social networks

This commit is contained in:
Diego Najar 2018-02-01 23:07:31 +01:00
parent 391cc9cbbf
commit a764d6f177
2 changed files with 3 additions and 3 deletions

View File

@ -381,8 +381,8 @@ class Page {
return ($this->getValue('status')=='sticky');
}
// (boolean) Returns TRUE if the page is sticky, FALSE otherwise
public function isStatic()
// (boolean) Returns TRUE if the page is static, FALSE otherwise
public function static()
{
return ($this->getValue('status')=='static');
}

View File

@ -12,7 +12,7 @@
<h2><?php echo $page->title(); ?></h2>
</a>
<?php if (!$page->isStatic()): ?>
<?php if (!$page->static()): ?>
<!-- Creation date -->
<h6 class="card-subtitle mb-2 text-muted"><?php echo $page->date(); ?></h6>
<?php endif ?>