Getting rid of the templating subpackage, complete unecessary

This commit is contained in:
2025-07-28 03:34:26 +01:00
parent af9265575b
commit 0d373d1990
15 changed files with 219 additions and 231 deletions
+3 -3
View File
@@ -45,7 +45,7 @@ func typesGlobalPage(c *gin.Context) {
types,
)
c.HTML(http.StatusOK, "terminal.gotempl", gin.H{
c.HTML(http.StatusOK, "terminal.html", gin.H{
"page": "types",
"renderNavBar": true,
"content": content,
@@ -68,7 +68,7 @@ func typePage(c *gin.Context) {
},
)
c.HTML(http.StatusOK, "terminal.gotempl", gin.H{
c.HTML(http.StatusOK, "terminal.html", gin.H{
"page": "type",
"renderNavBar": false,
"content": content,
@@ -82,7 +82,7 @@ func newTypePage(c *gin.Context) {
fp.Join(cfg.AssetsDir, "/htmx/typeNew.html"), map[string]any{},
)
c.HTML(http.StatusOK, "terminal.gotempl", gin.H{
c.HTML(http.StatusOK, "terminal.html", gin.H{
"page": "typeNew",
"renderNavBar": false,
"content": content,