feat: titre et claim configurables depuis l'admin
This commit is contained in:
+3
-2
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user