diff --git a/config.toml b/config.toml index 986d175..bda6b73 100644 --- a/config.toml +++ b/config.toml @@ -185,3 +185,23 @@ name = "gRPC Wire Format" url = "https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md" weight = 6 parent = "guides" + +[[menu.buttons]] +name = "Quick Start" +url = "/docs/quickstart" +weight = 1 + +[[menu.buttons]] +name = "Docs" +url = "/docs" +weight = 2 + +[[menu.buttons]] +name = "Concepts" +url = "/docs/guides/concepts" +weight = 3 + +[[menu.buttons]] +name = "Community" +url = "/community" +weight = 4 \ No newline at end of file diff --git a/layouts/index.html b/layouts/index.html index 21b46ee..4367c92 100755 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,3 +1,7 @@ +{{ define "title" }} +{{ site.Title }} – {{ site.Params.description }} +{{ end }} + {{ define "main" }} {{ partial "home/hero.html" . }} {{ partial "home/info.html" . }} diff --git a/layouts/partials/home/hero.html b/layouts/partials/home/hero.html index 696a499..e3ede17 100644 --- a/layouts/partials/home/hero.html +++ b/layouts/partials/home/hero.html @@ -1,6 +1,7 @@ {{ $logo := printf "img/logos/%s" site.Params.logos.hero | relURL }} {{ $title := site.Title }} {{ $desc := site.Params.description }} +{{ $btns := site.Menus.buttons }}