diff --git a/config.toml b/config.toml index 1db895ae..5d74ed38 100644 --- a/config.toml +++ b/config.toml @@ -20,6 +20,21 @@ languageName ="English" # Weight used for sorting. weight = 1 +# Entries in the main menu in the header. +[menus] +[[menus.main]] + name = 'Foundation' + url = 'https://matrix.org/foundation/' + weight = 10 +[[menus.main]] + name = 'FAQs' + url = 'https://matrix.org/faq' + weight = 20 +[[menus.main]] + name = 'Blog' + url = 'https://matrix.org/blog/posts' + weight = 30 + [markup] [markup.goldmark] [markup.goldmark.renderer] diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index e78ee9c4..db6a982a 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -6,39 +6,74 @@ */}} -{{ $cover := .HasShortcode "blocks/cover" }} - - {{ define "partials/version-string" }} {{ $ret := "unstable version"}}