Templating

This commit is contained in:
2025-08-08 00:04:07 +02:00
parent e26e85b069
commit 20e3466f2f
9 changed files with 407 additions and 393 deletions

View File

@@ -12,5 +12,5 @@ func HandleIndex(c *gin.Context) {
if baseURL == "" {
baseURL = "http://localhost:8080"
}
c.HTML(http.StatusOK, "index.html", gin.H{"BaseURL": baseURL})
c.HTML(http.StatusOK, "layout.html", gin.H{"BaseURL": baseURL, "Title": "Home"})
}