mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 19:19:19 +02:00
Add <meta name=description> to all public pages; improve page titles
- templates/public/head.php: emit <meta name="description"> when $metaDescription is set - index.php: title → 'Posterg – Mémoires de l\'ERG'; description = site blurb - tfe.php: title → '[Titre] – [Auteur] – Posterg'; description = synopsis excerpt (strip_tags, truncate 160) - search.php: description = répertoire purpose blurb - apropos.php: description = about-page blurb - licence.php: description = licences blurb Fixes WCAG 2.4.2 (Page Titled) for index.php and tfe.php. All descriptions properly htmlspecialchars-escaped at render time.
This commit is contained in:
@@ -50,7 +50,8 @@ try {
|
||||
}
|
||||
|
||||
$currentNav = '';
|
||||
$pageTitle = 'Posterg';
|
||||
$pageTitle = 'Posterg – Mémoires de l\'ERG';
|
||||
$metaDescription = 'Posterg répertorie et valorise les mémoires de fin d\'études (TFE) de l\'erg – École de Recherches Graphiques de Bruxelles.';
|
||||
$extraCss = ['assets/main.css'];
|
||||
?>
|
||||
<?php include APP_ROOT . '/templates/public/head.php'; ?>
|
||||
|
||||
Reference in New Issue
Block a user