🔀 merge pull request 'v1.2.10' (#92) from dev into main

Reviewed-on: #92
This commit is contained in:
DrMaxNix 2024-04-14 19:06:48 +02:00
commit e140a55564
4 changed files with 7 additions and 3 deletions

View File

Before

Width:  |  Height:  |  Size: 181 KiB

After

Width:  |  Height:  |  Size: 181 KiB

BIN
asset/banner-en-bg-1920.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 KiB

View File

@ -1,6 +1,6 @@
<?php
// VERSION //
static::$version = "1.2.9";
static::$version = "1.2.10";
// DEPENDENCIES //

View File

@ -58,10 +58,14 @@
Page::author("Kim Endisch");
Page::keywords("selbstbestimmungsgesetz-jetzt", "sbgg-jetzt", "selbstbestimmungsgesetz", "selbstbestimmung", "sbgg", "SBGG", "tsg", "transsexuellengesetz", "trans", "nicht-binär", "non-binary", "deutschland", "gender", "geschlecht", "identität", "roadmap", "timeline", "stand", "aktuell", "aktueller stand", "wann", "wann kommt", "inkrafttreten", "referentenentwurf");
Page::$head["og_title"] = '<meta property="og:title" content="' . $dict->get("title") . '" />';
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>';