Nieuwste pagina-optie toegevoegd aan startpagina config

This commit is contained in:
2026-07-28 16:37:10 +02:00
parent 8fdbabf587
commit bcbb297116
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -18,6 +18,7 @@
<label for="default_page" class="form-label">Standaard/startpagina</label>
<select name="default_page" id="default_page" class="form-select">
<option value="auto" <?= ($configData['default_page'] ?? 'auto') === 'auto' ? 'selected' : '' ?>>Auto (eerste beschikbare pagina)</option>
<option value="newest" <?= ($configData['default_page'] ?? '') === 'newest' ? 'selected' : '' ?>>Nieuwste (laatste gewijzigde pagina)</option>
<?php foreach ($availablePages as $page): ?>
<option value="<?= htmlspecialchars($page) ?>" <?= ($configData['default_page'] ?? '') === $page ? 'selected' : '' ?>>
<?= htmlspecialchars(ucwords(str_replace(['-', '_'], ' ', $page))) ?>
+1 -1
View File
@@ -55,7 +55,7 @@ CodePress CMS is a lightweight, file-based content management system built with
### Configuration
- **Settings form** in admin panel via `/admin/config`
- Dynamic homepage setting via dropdown
- Dynamic homepage setting via dropdown (auto, newest modified page, or manual selection)
- SEO settings (description, keywords)
- Author information with links
- Theme configuration via `themes/` directory
+1 -1
View File
@@ -55,7 +55,7 @@ CodePress CMS is een lichtgewicht, file-based content management systeem gebouwd
### Configuratie
- **Instellingenformulier** in admin paneel via `/admin/config`
- Dynamische homepage instelling via dropdown
- Dynamische homepage instelling via dropdown (auto, nieuwste gewijzigde pagina, of handmatig)
- SEO instellingen (description, keywords)
- Author informatie met links
- Thema configuratie via `themes/` directory