🌐 english version of og image
This commit is contained in:
parent
251bb3378f
commit
cc3a81e65f
Before Width: | Height: | Size: 181 KiB After Width: | Height: | Size: 181 KiB |
Binary file not shown.
After Width: | Height: | Size: 184 KiB |
|
@ -61,7 +61,11 @@
|
|||
Page::$head["og_title"] = '<meta property="og:title" content="SBGG.jetzt" />';
|
||||
Page::$head["og_description"] = '<meta property="og:description" content="' . $dict->get("description") . '" />';
|
||||
Page::$head["og_type"] = '<meta property="og:type" content="website" />';
|
||||
Page::$head["og_image"] = '<meta property="og:image" content="' . File::file("./asset/banner-bg-1920.png") . '" />';
|
||||
$banner_file_path = ([
|
||||
"de" => "./asset/banner-de-bg-1920.png",
|
||||
"en" => "./asset/banner-en-bg-1920.png",
|
||||
])[$lang->get()] ?? "./asset/banner-de-bg-1920.png";
|
||||
Page::$head["og_image"] = '<meta property="og:image" content="' . File::file($banner_file_path) . '" />';
|
||||
Page::$head["og_url"] = '<meta property="og:url" content="' . Url::full() . '" />';
|
||||
|
||||
Page::$head["analytics"] = '<script defer data-domain="sbgg.jetzt" src="https://analytics.tjdev.de/js/script.js"></script>';
|
||||
|
|
Loading…
Reference in New Issue