diff --git a/README.md b/README.md index 295f2af..994cfa9 100644 --- a/README.md +++ b/README.md @@ -11,3 +11,11 @@ docker run -d --name matterweb \ -v $PWD/content:/app/content \ matterwebsite ``` + +### Managing Content +Website content can be managed by editing JSON and markdown files +under the `content` direcotry. + +Matterlinux's website content directory can be found at +[website-content](https://git.matterlinux.xyz/matterlinux/website-content) +repository. diff --git a/routes/index.go b/routes/index.go index da34da7..35ca16c 100644 --- a/routes/index.go +++ b/routes/index.go @@ -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")