15 lines
334 B
Go
15 lines
334 B
Go
package routes
|
|
|
|
import (
|
|
"git.readonly.ch/bouzoure/gpx-downloader/helpers"
|
|
"git.readonly.ch/bouzoure/gpx-downloader/templates"
|
|
"github.com/gofiber/fiber/v2"
|
|
)
|
|
|
|
func Index(c *fiber.Ctx) error {
|
|
baseParams := templates.BaseTemplateParams{
|
|
Title: "GPX downloader",
|
|
}
|
|
|
|
return helpers.TemplRender(c, templates.Index(baseParams))
|
|
}
|