package handlers import ( "net/http" "git.jamestombleson.com/jtom38/newsbot-portal/internal/models" "git.jamestombleson.com/jtom38/newsbot-portal/internal/views/home" "github.com/labstack/echo/v4" ) func (h *Handler) HomeIndex(c echo.Context) error { return Render(c, http.StatusOK, home.Index(models.HomeIndexViewModel{ HeaderMetaTags: models.HeaderMetaTags{ Title: "Newsbot", Description: "Welcome to your news", Url: "", Type: "Page", }, })) } func (h *Handler) HomeAbout(c echo.Context) error { return Render(c, http.StatusOK, home.About(models.HomeAboutViewModel{ HeaderMetaTags: models.HeaderMetaTags{ Title: "About", Type: "Page", }, })) }