Merge pull request #22 from eopb/main
An attempt to fix docs to prevent "`item.code` not found in context"
This commit is contained in:
commit
87427ddf82
12
README.md
12
README.md
|
@ -106,11 +106,13 @@ Go into your sites directory and type `zola serve`. You should see your new site
|
|||
### Theme Options
|
||||
```toml
|
||||
navbar_items = [
|
||||
{ url = "$BASE_URL/", name = "Home" },
|
||||
{ url = "$BASE_URL/posts", name = "Posts" },
|
||||
{ url = "$BASE_URL/docs", name = "Docs" },
|
||||
{ url = "$BASE_URL/tags", name = "Tags" },
|
||||
{ url = "$BASE_URL/categories", name = "Categories" },
|
||||
{ code = "en", nav_items = [
|
||||
{ url = "$BASE_URL/", name = "Home" },
|
||||
{ url = "$BASE_URL/posts", name = "Posts" },
|
||||
{ url = "$BASE_URL/docs", name = "Docs" },
|
||||
{ url = "$BASE_URL/tags", name = "Tags" },
|
||||
{ url = "$BASE_URL/categories", name = "Categories" },
|
||||
]},
|
||||
]
|
||||
|
||||
# Add links to favicon, you can use https://realfavicongenerator.net/ to generate favicon for your site
|
||||
|
|
Loading…
Reference in New Issue