mirror of
https://github.com/typemill/typemill.git
synced 2025-04-30 08:38:21 +02:00
Fix first image meta
This commit is contained in:
parent
e57bdf453e
commit
9db742d916
@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user