From a423677c42b7a3f755ee5c2ba434ed77ef6f6b99 Mon Sep 17 00:00:00 2001 From: Oleksii Dobrovolskyi Date: Wed, 14 Feb 2024 17:30:00 +0200 Subject: Add Home to extra.main_menu so it can be translated on the multilingual websites --- README.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index db77233..7ebe80b 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,10 @@ Please check out the included [config.toml](https://codeberg.org/alanpearce/zola Create an array in `extra` with a key of `main_menu`. `url` is passed to [`get_url`](https://www.getzola.org/documentation/templates/overview/#get-url) ```toml +[[extra.main_menu]] +name = "Home" +url = "/" + [[extra.main_menu]] name = "Bear" url = "@/bear.md" -- cgit 1.4.1