diff --git a/content/default.nix b/content/default.nix index 58e66235..96871673 100644 --- a/content/default.nix +++ b/content/default.nix @@ -1,16 +1,17 @@ { config, ... }: let inherit (config) pages; + files = dir: + map (name: dir + /${name}) (with builtins; attrNames (readDir dir)); in { imports = [ ./grants.nix ./fediversity.nix - ./nlnet.nix - ./nordunet.nix - ./tweag.nix - ./oid.nix - ]; + ] + ++ + (files ./partners) + ; pages.index = { title = "Fediversity"; diff --git a/content/nlnet.nix b/content/partners/nlnet.nix similarity index 100% rename from content/nlnet.nix rename to content/partners/nlnet.nix diff --git a/content/nordunet.nix b/content/partners/nordunet.nix similarity index 100% rename from content/nordunet.nix rename to content/partners/nordunet.nix diff --git a/content/oid.nix b/content/partners/oid.nix similarity index 100% rename from content/oid.nix rename to content/partners/oid.nix diff --git a/content/tweag.nix b/content/partners/tweag.nix similarity index 100% rename from content/tweag.nix rename to content/partners/tweag.nix