Commit 86de9298462aa03739051b6246f3f1a6318d5582
1 parent
8ee9ffaa
rm node nodule
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
frontend/widgets/Seo.php
... | ... | @@ -477,7 +477,10 @@ class Seo extends Widget |
477 | 477 | |
478 | 478 | |
479 | 479 | public function addPage($string){ |
480 | - return $string." - страница {$this->page}"; | |
481 | 480 | |
481 | + if($this->page && $this->page!=1){ | |
482 | + return $string." - страница {$this->page}"; | |
483 | + } | |
484 | + return $string; | |
482 | 485 | } |
483 | 486 | } |
484 | 487 | \ No newline at end of file | ... | ... |