feat: add news module with admin panel, pagination, and service toggle via env flag

This commit is contained in:
2026-05-11 20:12:43 +00:00
parent f7ca123cd6
commit 331e19b14e
18 changed files with 977 additions and 62 deletions
+1
View File
@@ -45,6 +45,7 @@
<a href="/feed" class="topnav-logo">Dev<span>Place</span></a>
<div class="topnav-links">
<a href="/feed" class="topnav-link {% if request.url.path == '/feed' %}active{% endif %}">Home</a>
<a href="/news" class="topnav-link {% if 'news' in request.url.path %}active{% endif %}">News</a>
<a href="/projects" class="topnav-link {% if 'projects' in request.url.path %}active{% endif %}">Projects</a>
<a href="/messages" class="topnav-link {% if 'messages' in request.url.path %}active{% endif %}">Messages</a>
{% if user.get('role') == 'Admin' %}