added content managment section to readme, changed index page name

This commit is contained in:
ngn
2023-12-09 21:38:10 +03:00
parent 4421cccf32
commit 226a2f2fa9
2 changed files with 9 additions and 1 deletions

View File

@ -6,7 +6,7 @@ import (
)
func IndexRoute(c *fiber.Ctx) error{
content, err := GetContent("content", "readme")
content, err := GetContent("content", "index")
if err != nil {
log.Error(err)
return c.Status(505).SendString("Server error")