forked from Fediversity/Fediversity
Compare commits
2 commits
2ba91fef6e
...
8899b82e51
Author | SHA1 | Date | |
---|---|---|---|
Valentin Gagarin | 8899b82e51 | ||
Valentin Gagarin | 53d41c8c3a |
|
@ -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 = {
|
||||
|
|
|
@ -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 = ''
|
||||
|
|
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue