forked from Fediversity/Fediversity
Compare commits
2 commits
8899b82e51
...
2ba91fef6e
Author | SHA1 | Date | |
---|---|---|---|
2ba91fef6e | |||
f18ae33b2a |
3 changed files with 3 additions and 3 deletions
website/structure
|
@ -25,7 +25,7 @@ in
|
|||
default = null;
|
||||
};
|
||||
};
|
||||
config.name = with lib; mkDefault (slug config.title);
|
||||
config.name = lib.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 = name;
|
||||
default = lib.mkDefault name;
|
||||
};
|
||||
prefixes = mkOption {
|
||||
description = ''
|
||||
|
|
|
@ -39,7 +39,7 @@ in
|
|||
type = with types; str;
|
||||
};
|
||||
};
|
||||
config.name = with lib; mkDefault (slug config.title);
|
||||
config.name = lib.slug config.title;
|
||||
config.summary = lib.mkDefault config.description;
|
||||
config.outputs.html = lib.mkForce
|
||||
((cfg.templates.html.page config).override (final: prev: {
|
||||
|
|
Loading…
Add table
Reference in a new issue