Compare commits

..

2 commits

3 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@ in
default = null;
};
};
config.name = lib.slug config.title;
config.name = with lib; mkDefault (slug config.title);
config.outputs.html = lib.mkForce
((cfg.templates.html.page config).override (final: prev: {
html = {

View file

@ -34,7 +34,7 @@ in
name = mkOption {
description = "Symbolic name, used as a human-readable identifier";
type = types.str;
default = lib.mkDefault name;
default = name;
};
prefixes = mkOption {
description = ''

View file

@ -39,7 +39,7 @@ in
type = with types; str;
};
};
config.name = lib.slug config.title;
config.name = with lib; mkDefault (slug config.title);
config.summary = lib.mkDefault config.description;
config.outputs.html = lib.mkForce
((cfg.templates.html.page config).override (final: prev: {