fix template consolidation: admin/head.php wraps public/head.php, footer.php wired to all public pages, remove duplicate font-family and body reset

This commit is contained in:
Pontoporeia
2026-03-31 22:03:15 +02:00
parent 3a42838cec
commit 4ff959a72d
9 changed files with 16 additions and 36 deletions

View File

@@ -96,5 +96,4 @@ $extraCss = ['/assets/css/apropos.css'];
</div>
</main>
</body>
</html>
<?php include APP_ROOT . '/templates/footer.php'; ?>

View File

@@ -18,9 +18,7 @@
min-height: 100vh;
background: var(--admin-bg);
color: var(--admin-text);
font-family:
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
Arial, sans-serif;
/* font-family inherited from common.css body */
}
/* Admin nav (dark version of site-nav) */

View File

@@ -165,5 +165,4 @@ $extraCss = ['/assets/css/main.css'];
<?php endif; ?>
</main>
</body>
</html>
<?php include APP_ROOT . '/templates/footer.php'; ?>

View File

@@ -48,5 +48,4 @@ $extraCss = ['/assets/css/apropos.css'];
</div>
</main>
</body>
</html>
<?php include APP_ROOT . '/templates/footer.php'; ?>

View File

@@ -293,5 +293,4 @@ $extraCss = ['/assets/css/search.css'];
</main>
<?php endif; ?>
</body>
</html>
<?php include APP_ROOT . '/templates/footer.php'; ?>

View File

@@ -241,5 +241,4 @@ $extraCss = ['/assets/css/tfe.css'];
</article>
</main>
</body>
</html>
<?php include APP_ROOT . '/templates/footer.php'; ?>