Compare commits
1 commit
main
...
refactor-i
Author | SHA1 | Date | |
---|---|---|---|
Valentin Gagarin | f5f805a27d |
|
@ -28,7 +28,6 @@ in
|
||||||
];
|
];
|
||||||
body.content =
|
body.content =
|
||||||
let
|
let
|
||||||
prev-content = prev.html.body.content;
|
|
||||||
to-section = { heading, body, attrs ? { } }: {
|
to-section = { heading, body, attrs ? { } }: {
|
||||||
section = {
|
section = {
|
||||||
heading.content = heading;
|
heading.content = heading;
|
||||||
|
@ -43,7 +42,7 @@ in
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
[
|
[
|
||||||
(lib.head prev-content) # header
|
(lib.head prev.html.body.content)
|
||||||
{
|
{
|
||||||
section = {
|
section = {
|
||||||
attrs = { };
|
attrs = { };
|
||||||
|
|
|
@ -505,7 +505,6 @@ let
|
||||||
else baseType.merge loc (map (p: p.def // { value = p.processed; }) processed);
|
else baseType.merge loc (map (p: p.def // { value = p.processed; }) processed);
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
# HACK: bail out for now
|
|
||||||
with-section-constraints
|
with-section-constraints
|
||||||
# TODO: find a reasonable cut-off for where to place raw content
|
# TODO: find a reasonable cut-off for where to place raw content
|
||||||
(listOf (either str (attrTag categories.flow)));
|
(listOf (either str (attrTag categories.flow)));
|
||||||
|
|
Loading…
Reference in a new issue