Metatag fixes, front end description work

This commit is contained in:
Alex 2026-06-08 15:10:12 -07:00
parent d09f49ed24
commit 2907e95d6b
13 changed files with 48 additions and 15 deletions

View file

@ -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) {

View file

@ -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()
];