mirror of
https://github.com/typemill/typemill.git
synced 2025-08-05 05:37:45 +02:00
Fix first image meta
This commit is contained in:
@@ -170,7 +170,7 @@ class PageController extends Controller
|
||||
{
|
||||
preg_match('#\[(.*?)\]#', $firstImage, $img_alt);
|
||||
|
||||
$firstImage = array('img_url' => $base_url . $img_url[1], 'img_alt' => $img_alt[1]);
|
||||
$firstImage = array('img_url' => $base_url . '/' . $img_url[1], 'img_alt' => $img_alt[1]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user