mirror of
https://github.com/Floriansylvain/RenewCMS.git
synced 2026-08-19 11:43:22 +02:00
feat: Posts page impl and associated routes
Implemented a new 'Posts' page which has been added to the main navigation. This includes: - Adding the 'posts.html' template with basic HTML and related CSS/JS - Updating the 'componentNavbar.html' template to include a link to the new Posts page - Writing the 'GetPostsPage' function in 'api/page.go' to handle requests for the Posts page - Modifying the 'home.html' template to provide a link towards the Posts Page - Adding an associated route in 'api/page.go'.
This commit is contained in:
@@ -16,10 +16,7 @@
|
||||
<a class="nav-link" href="/home">Accueil</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#">Link 2</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#">Link 3</a>
|
||||
<a class="nav-link" href="/posts">Posts</a>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="navbar-nav">
|
||||
|
||||
Reference in New Issue
Block a user