forked from Fediversity/fediversity.eu
formatting
This commit is contained in:
parent
62f5e16f38
commit
01be60f9c6
|
@ -22,8 +22,7 @@ in
|
||||||
type = with types; attrsOf (submodule config.content-types.page);
|
type = with types; attrsOf (submodule config.content-types.page);
|
||||||
};
|
};
|
||||||
|
|
||||||
options.collections = mkOption
|
options.collections = mkOption {
|
||||||
{
|
|
||||||
description = ''
|
description = ''
|
||||||
Named collections of unnamed pages
|
Named collections of unnamed pages
|
||||||
|
|
||||||
|
@ -66,8 +65,7 @@ in
|
||||||
example = [ "." ];
|
example = [ "." ];
|
||||||
default = [ config.name ];
|
default = [ config.name ];
|
||||||
};
|
};
|
||||||
entry = mkOption
|
entry = mkOption {
|
||||||
{
|
|
||||||
description = "An entry in the collection";
|
description = "An entry in the collection";
|
||||||
type = types.collection (types.submodule ({
|
type = types.collection (types.submodule ({
|
||||||
imports = [ config.type ];
|
imports = [ config.type ];
|
||||||
|
|
Reference in a new issue