urbit/ren/tree/combine.hoon
2016-11-16 17:42:58 -08:00

29 lines
635 B
Plaintext

::
:::: /hoon/combine/tree/ren
::
/? 310
/- tree-include
/+ elem-to-react-json
/= mime /mime/
/= body /tree-elem/
/= sect /&json&/tree-index/
/= snip /&snip&elem&/tree-elem/
/= meta /&json&front&/|(/front/ /~[~])
/= plan /^ json /|(/plan-json/ /~[~])
/= comt /&json&/tree-comments/
/= bump /; |=(a/(list {p/time *}) =.(a (flop a) ?~(a '' (scot %da p.i.a))))
/tree-comments/
::
^- tree-include
=* rj elem-to-react-json
:* mime
(rj body)
(rj /h1 hed.snip) :: head
(rj /div tal.snip) :: snip
meta
sect
comt
plan
bump
==