fixed matomo to be in the master twig template.

This commit is contained in:
2026-01-22 15:40:46 -08:00
parent 42a828a778
commit 14ec6b7e7a
5 changed files with 34 additions and 21 deletions

View File

@@ -17,7 +17,8 @@ $log = new Logger(\BASEPATH . $config['logfile'], $config['loglevel']);
// --- Twig Data Array ---
$data = [];
$data['fonts'] = $config['fonts'] ?? [];
$data['matomo'] = $config['matomo'] ?? 0;
$data['matomo_url'] = $config['matomo_url'] ?? '';
$data['matomo_id'] = $config['matomo_id'] ?? '0';
// --- Session ---
use Novaconium\Session;