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;
|
default = null;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
config.name = lib.slug config.title;
|
config.name = with lib; mkDefault (slug config.title);
|
||||||
config.outputs.html = lib.mkForce
|
config.outputs.html = lib.mkForce
|
||||||
((cfg.templates.html.page config).override (final: prev: {
|
((cfg.templates.html.page config).override (final: prev: {
|
||||||
html = {
|
html = {
|
||||||
|
|
|
@ -34,7 +34,7 @@ in
|
||||||
name = mkOption {
|
name = mkOption {
|
||||||
description = "Symbolic name, used as a human-readable identifier";
|
description = "Symbolic name, used as a human-readable identifier";
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = lib.mkDefault name;
|
default = name;
|
||||||
};
|
};
|
||||||
prefixes = mkOption {
|
prefixes = mkOption {
|
||||||
description = ''
|
description = ''
|
||||||
|
|
|
@ -39,7 +39,7 @@ in
|
||||||
type = with types; str;
|
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.summary = lib.mkDefault config.description;
|
||||||
config.outputs.html = lib.mkForce
|
config.outputs.html = lib.mkForce
|
||||||
((cfg.templates.html.page config).override (final: prev: {
|
((cfg.templates.html.page config).override (final: prev: {
|
||||||
|
|
Loading…
Reference in a new issue