mirror of
https://github.com/RGBCube/HTMNIX
synced 2025-07-29 00:47:44 +00:00
Make raw logic simpler
This commit is contained in:
parent
ea294f5fec
commit
8f1e184a29
2 changed files with 4 additions and 4 deletions
|
@ -43,8 +43,8 @@
|
|||
outPath = dottedNameToTag name;
|
||||
|
||||
__functor = this: next:
|
||||
# Not an attrset or an escaped one. Just toString it and add it onto the HTML.
|
||||
if builtins.isAttrs next -> lib.hasSuffix "-_" next.outPath or ""
|
||||
# Not an attrset. Just add it onto the HTML.
|
||||
if !builtins.isAttrs next
|
||||
then this // {
|
||||
outPath = (toString this) + escape (toString next);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue