Metatag fixes, front end description work
This commit is contained in:
parent
d09f49ed24
commit
2907e95d6b
13 changed files with 48 additions and 15 deletions
|
|
@ -49,6 +49,7 @@ final class PhotosController extends AbstractController
|
|||
'description' => $photos->getDescription(),
|
||||
'date' => $photos->getDate(),
|
||||
'thumbnail' => '/files/uploads/photos/' . strtolower(str_replace(' ', '_', $photos->getTitle())) . '/' . $photos->getThumbnail(),
|
||||
'url' => $photos->getUrl(),
|
||||
];
|
||||
|
||||
foreach ($uploads as $index => $upload) {
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ final class PostController extends AbstractController
|
|||
'title' => $post->getTitle(),
|
||||
'category' => $post->getCategory()->getTitle(),
|
||||
'urlSafeCategory' => $post->getCategory()->getUrlSafeTitle(),
|
||||
'description' => $post->getDescription(),
|
||||
'date' => $post->getDate(),
|
||||
'url' => $post->getUrl()
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue