Files
RenewCMS/adapters/secondary/gateways/web/templates/home.html
T
Florian Sylvain 7d071ebc2e clean: refactor templates to use a common head section
This commit introduces a refactoring in various page templates to use a central, common 'head' section, stored under utilsHead.html. This head section contains common metadata, styles, and scripts. This change enhances code reusability and standardizes the head section across different pages for consistent user experience and ease of future potential changes. Also, some minimal adjustments were made in the navigation and link routing for more user-friendly URL paths. Lastly, the server's listening interface was updated to only listen on the localhost.
2023-10-11 20:28:00 +02:00

18 lines
333 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>GohCMS | Accueil</title>
{{.Head}}
</head>
<body class="text-dark">
{{.Navbar}}
<div class="container mt-3 text-black-50">
<h1>Accueil</h1>
<p>Bienvenue sur GohCMS !</p>
<a href="/post">
<button class="btn btn-outline-primary">Posts &raquo;</button>
</a>
</div>
</body>
</html>