Social networks
This commit is contained in:
parent
391cc9cbbf
commit
a764d6f177
|
@ -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');
|
||||
}
|
||||
|
|
|
@ -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 ?>
|
||||
|
|
Loading…
Reference in New Issue