forked from Fediversity/Fediversity
Compare commits
2 commits
8899b82e51
...
2ba91fef6e
Author | SHA1 | Date | |
---|---|---|---|
Valentin Gagarin | 2ba91fef6e | ||
Valentin Gagarin | f18ae33b2a |
|
@ -25,7 +25,7 @@ in
|
||||||
default = null;
|
default = null;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
config.name = with lib; mkDefault (slug config.title);
|
config.name = lib.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 = name;
|
default = lib.mkDefault name;
|
||||||
};
|
};
|
||||||
prefixes = mkOption {
|
prefixes = mkOption {
|
||||||
description = ''
|
description = ''
|
||||||
|
|
|
@ -39,7 +39,7 @@ in
|
||||||
type = with types; str;
|
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.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