1
0
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:
Sebastian 2019-01-04 11:15:22 +01:00
parent e57bdf453e
commit 9db742d916

View File

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