feat: titre et claim configurables depuis l'admin

This commit is contained in:
Cedric Abonnel
2026-05-12 22:30:00 +02:00
parent 8f0fe0dbff
commit b81750616f
1015 changed files with 1832 additions and 1418 deletions
+3 -2
View File
@@ -5,6 +5,7 @@ declare(strict_types=1);
define('BASE_PATH', realpath(__DIR__ . '/../'));
require_once BASE_PATH . '/src/auth.php';
require_once BASE_PATH . '/src/SiteSettings.php';
require_once BASE_PATH . '/config/config.php';
require_once BASE_PATH . '/src/ArticleManager.php';
require_once BASE_PATH . '/src/Parsedown.php';
@@ -70,9 +71,9 @@ echo '<?xml version="1.0" encoding="UTF-8"?>' . "\n";
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:fh="http://purl.org/syndication/history/1.0">
<channel>
<title>varlog</title>
<title><?= htmlspecialchars(siteTitle()) ?></title>
<link><?= htmlspecialchars($base) ?></link>
<description>Journal personnel de Cédrix — informatique, hack et loisirs techniques.</description>
<description><?= htmlspecialchars(siteClaim()) ?></description>
<language>fr</language>
<lastBuildDate><?= htmlspecialchars($lastBuild) ?></lastBuildDate>