mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Added support for OpenGraph
- Linking to index and individual posts produces thumbs on sites like Facebook - Thumbnails theoretically support custom sizes
This commit is contained in:
@ -41,6 +41,7 @@ class IndexController
|
||||
$this->context->featuredPost = $featuredPost;
|
||||
$this->context->featuredPostUser = $featuredPostUser;
|
||||
$this->context->featuredPostDate = $featuredPostDate;
|
||||
$this->context->pageThumb = \Chibi\UrlHelper::route('post', 'thumb', ['name' => $featuredPost->name]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user