2023-12-24 11:40:18 +00:00
|
|
|
package ui
|
|
|
|
|
|
|
|
import (
|
|
|
|
"net/http"
|
|
|
|
|
2023-12-27 10:36:35 +00:00
|
|
|
"github.com/gin-gonic/gin"
|
|
|
|
|
2023-12-24 11:40:18 +00:00
|
|
|
"git.jmbit.de/filegate/filegate/utils"
|
|
|
|
"git.jmbit.de/filegate/filegate/web/templates"
|
|
|
|
)
|
|
|
|
|
|
|
|
func index(c *gin.Context) {
|
2023-12-28 17:23:27 +00:00
|
|
|
c.HTML(http.StatusOK, "", templates.Index(utils.GenMetaContent(c), nil))
|
2023-12-24 11:40:18 +00:00
|
|
|
}
|