Replace Posterg branding with XAMXAM in all user-facing content

This commit is contained in:
Théophile Gervreau-Mercier
2026-04-27 18:31:39 +02:00
parent 7e26351f4b
commit 88b9f341cd
9 changed files with 33 additions and 31 deletions

View File

@@ -19,7 +19,7 @@
*/
class TfeController
{
private const BASE_URL = 'https://posterg.erg.be';
private const BASE_URL = 'https://xamxam.erg.be';
private const META_MAX_LEN = 160;
private Database $db;
@@ -87,7 +87,7 @@ class TfeController
$ogTags = $this->buildOgTags($data, $thesisId, $metaDescription);
$pageTitle = $data['title']
. (!empty($data['authors']) ? ' ' . $data['authors'] : '')
. ' Posterg';
. ' XAMXAM';
return [
// Core data
@@ -123,7 +123,7 @@ class TfeController
$plain = strip_tags($synopsis);
if (empty($plain)) {
return 'Mémoire de fin d\'études Posterg, répertoire des TFE de l\'erg.';
return 'Mémoire de fin d\'études XAMXAM, répertoire des TFE de l\'erg.';
}
return strlen($plain) > self::META_MAX_LEN
@@ -171,7 +171,7 @@ class TfeController
'url' => self::BASE_URL . '/tfe?id=' . $thesisId,
'image' => $ogImage,
'image_alt' => $imageAlt,
'site_name' => 'Posterg ERG',
'site_name' => 'XAMXAM ERG',
'article_author' => $data['authors'] ?? '',
'article_published_time' => !empty($data['year']) ? $data['year'] . '-01-01' : '',
];