Fediversity/website/content/navigation.nix

22 lines
358 B
Nix
Raw Normal View History

2024-11-13 15:24:41 +01:00
{ config, ... }:
let
inherit (config) pages;
in
{
menus.main = {
label = "Main";
items = [
{
menu.label = "Consortium";
menu.items = map (page: { inherit page; }) (with pages; [ nlnet oid tweag nordunet ]);
}
{
page = pages.fediversity;
}
{
page = pages.grants;
}
];
};
}