mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 19:19:19 +02:00
955 B
955 B
TODO
Completed
- Merge public and admin head/nav templates into unified
templates/head.phpandtemplates/header.phptemplates/head.php— outputs<!DOCTYPE html>…</head><body class="…">, reads$bodyClass,$isAdmin; handles admin title suffix, admin.css prepend, and OG tag suppression internallytemplates/header.php— outputs<header>…</header>with public nav + search bar or admin nav depending on$isAdmin- Deleted:
templates/public/head.php,templates/admin/head.php,templates/nav.php,templates/admin/nav.php - All 11 admin pages and 5 public pages updated to set
$bodyClass/$isAdminand include new templates
- Replace nav/header BEM custom classes with semantic HTML targeting in CSS
common.css:.site-nav→header nav,.site-nav__logo→header nav > a, etc.admin.css:.admin-nav→.admin-body header nav, logout via[data-nav-logout]attribute