forked from Fediversity/fediversity.eu
further prettify output
This commit is contained in:
parent
8704b45b23
commit
e6459f26e2
|
@ -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 = { ... }: {
|
||||||
|
|
Reference in a new issue