forked from Fediversity/Fediversity
further prettify output
This commit is contained in:
parent
d4aa88f759
commit
cbe10ec304
|
@ -147,11 +147,11 @@ let
|
||||||
|
|
||||||
print-element = name: attrs: content:
|
print-element = name: attrs: content:
|
||||||
with lib;
|
with lib;
|
||||||
lib.squash ''
|
squash (trim ''
|
||||||
<${name}${print-attrs attrs}>
|
<${name}${print-attrs attrs}>
|
||||||
${lib.indent " " content}
|
${lib.indent " " content}
|
||||||
</${name}>
|
</${name}>
|
||||||
'';
|
'');
|
||||||
|
|
||||||
elements = rec {
|
elements = rec {
|
||||||
document = { ... }: {
|
document = { ... }: {
|
||||||
|
|
Loading…
Reference in a new issue