Add page template with metadata display and copyright translation

Add support for language translations in footer

Add page template to template resolution logic
This commit is contained in:
Ruben 2025-10-02 20:16:52 +02:00
parent 19bb105303
commit d937ca6166
3 changed files with 122 additions and 64 deletions

View file

@ -23,7 +23,7 @@
<?= $content ?>
</main>
<footer>
<p>&copy; <?= date('Y') ?></p>
<p>&copy; <?= date('Y') ?> <?= htmlspecialchars($translations['footer_copyright'] ?? '') ?></p>
</footer>
</body>
</html>