feat: flux RSS pagine (20 items/page), aliases /rss et /rss.xml, fix migration booleen PostgreSQL

This commit is contained in:
Cedric Abonnel
2026-05-08 22:58:26 +02:00
parent 9cde19fe42
commit 35503e43b0
56 changed files with 99 additions and 68 deletions
+4 -2
View File
@@ -11,8 +11,10 @@ RewriteRule ^ - [L]
# URL propre pour les articles : /post/<slug>
RewriteRule ^post/([a-z0-9][a-z0-9-]*)/?$ /index.php?action=view&slug=$1 [L,QSA]
# Flux RSS
RewriteRule ^feed/?$ /feed.php [L]
# Flux RSS — /feed, /rss et /rss.xml pointent tous vers feed.php
RewriteRule ^feed/?$ /feed.php [L,QSA]
RewriteRule ^rss/?$ /feed.php [L,QSA]
RewriteRule ^rss\.xml$ /feed.php [L,QSA]
# Ajoute .php si le fichier correspondant existe
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI}.php -f