about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md
index 8caaef0..d5e367e 100644
--- a/README.md
+++ b/README.md
@@ -34,6 +34,24 @@ Please check out the included [config.toml](https://codeberg.org/alanpearce/zola
 
 ## Content & structure
 
+### Menu
+
+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 = "Bear"
+url = "@/bear.md"
+
+[[extra.main_menu]]
+name = "Zola"
+url = "@/zola.md"
+
+[[extra.main_menu]]
+name = "Blog"
+url = "@/blog/_index.md"
+```
+
 ### Adding / editing content
 
 #### Index-Page