Доработка OG
This commit is contained in:
parent
a346da83c9
commit
6e8c83d4a5
|
|
@ -55,8 +55,8 @@ class IndexController extends Controller
|
|||
$point = $point->getByPK($id);
|
||||
$point->name = htmlspecialchars($point->name);
|
||||
$point->descriptionHtml = htmlspecialchars($point->description);
|
||||
$point->descriptionHtml .= '\n \n Посмотреть на карте: http://wikipoints.ru/?point='.$id;
|
||||
$point->descriptionHtml .= '\n \n #wikipoints';
|
||||
$point->descriptionHtml .= ' Посмотреть на карте: http://wikipoints.ru/?point='.$id;
|
||||
$point->descriptionHtml .= ' #wikipoints';
|
||||
|
||||
$og['title'] = $point->name . ' - wikipoints.ru';
|
||||
$og['description'] = $point->descriptionHtml;
|
||||
|
|
|
|||
Loading…
Reference in New Issue