Social networks
This commit is contained in:
parent
391cc9cbbf
commit
a764d6f177
|
@ -381,8 +381,8 @@ class Page {
|
||||||
return ($this->getValue('status')=='sticky');
|
return ($this->getValue('status')=='sticky');
|
||||||
}
|
}
|
||||||
|
|
||||||
// (boolean) Returns TRUE if the page is sticky, FALSE otherwise
|
// (boolean) Returns TRUE if the page is static, FALSE otherwise
|
||||||
public function isStatic()
|
public function static()
|
||||||
{
|
{
|
||||||
return ($this->getValue('status')=='static');
|
return ($this->getValue('status')=='static');
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<h2><?php echo $page->title(); ?></h2>
|
<h2><?php echo $page->title(); ?></h2>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<?php if (!$page->isStatic()): ?>
|
<?php if (!$page->static()): ?>
|
||||||
<!-- Creation date -->
|
<!-- Creation date -->
|
||||||
<h6 class="card-subtitle mb-2 text-muted"><?php echo $page->date(); ?></h6>
|
<h6 class="card-subtitle mb-2 text-muted"><?php echo $page->date(); ?></h6>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
Loading…
Reference in New Issue