Commit ab9c91d203fbc604684b97eb1a830fe13a0e4d48
1 parent
28e5312e
Шаблонный вывод alt/titiel для сервисов в site/index
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
frontend/views/site/index.php
| @@ -99,7 +99,8 @@ JS; | @@ -99,7 +99,8 @@ JS; | ||
| 99 | <?=ImageHelper::set($service->image->getPath()) | 99 | <?=ImageHelper::set($service->image->getPath()) |
| 100 | ->cropResize(263, 146) | 100 | ->cropResize(263, 146) |
| 101 | ->quality(84) | 101 | ->quality(84) |
| 102 | - ->renderImage(['alt'=>$service->title,'title'=>$service->title])?> | 102 | + ->renderImage(['alt'=>ucfirst($service->title).' - Консультация врача и лечение заболеваний', |
| 103 | + 'title'=>ucfirst($service->title).' - Консультация врача и лечение заболеваний'])?> | ||
| 103 | </div> | 104 | </div> |
| 104 | <div class="style categories-home-links-wr"> | 105 | <div class="style categories-home-links-wr"> |
| 105 | <div class="style categories-home-links-title"> | 106 | <div class="style categories-home-links-title"> |