urbit/pkg/arvo/mar/graph/validator/publish.hoon

24 lines
354 B
Plaintext
Raw Normal View History

/- *post
|_ i=indexed-post
++ grow
|%
++ noun i
--
++ grab
|%
++ noun
|= p=*
=/ ip ;;(indexed-post p)
2020-09-08 09:08:52 +03:00
?+ index.p.ip !!
[@ @ ~] ip
:: top level post must have title as first content
[@ ~]
?> ?=(^ contents.p.ip)
?> ?=(%text -.i.contents.p.ip)
ip
==
--
::
++ grad %noun
--