Update Rules page

This commit is contained in:
Visman 2021-11-21 10:59:58 +07:00
parent 99b25947c9
commit c1b2c206d2
2 changed files with 1 additions and 3 deletions

View file

@ -24,7 +24,6 @@ class Rules extends Page
$this->nameTpl = 'rules';
$this->onlinePos = 'rules';
$this->canonical = $this->c->Router->link('Rules');
$this->title = __('Forum rules');
$this->crumbs = $this->crumbs(
[
$this->c->Router->link('Rules'),
@ -47,7 +46,6 @@ class Rules extends Page
$this->nameTpl = 'rules';
$this->onlinePos = 'rules';
$this->robots = 'noindex';
$this->title = __('Forum rules');
$this->crumbs = $this->crumbs(
__('Forum rules'),
[

View file

@ -4,7 +4,7 @@
@yield ('crumbs')
</div>
<section class="f-main f-rules">
<h2>{!! $p->title !!}</h2>
<h2>{!! __('Forum rules') !!}</h2>
<div id="id-rules">{!! $p->rules !!}</div>
@if ($form = $p->form)
<div class="f-fdiv f-lrdiv">