shrub/web/collections/topic-index.hoon
2018-02-06 15:12:30 -08:00

21 lines
378 B
Plaintext

/- collections
::
/+ old-zuse
/= topics /: /===/web/collections /^ (map knot config:collections) /_ /collections-config/
~& [%topics topics]
=, old-zuse
^- json
%- jobe
%+ turn
~(tap by topics)
|= [a/knot b/config:collections]
:- a
%- jobe
:~ desc+(jape (trip desc.b))
publ+[%b publ.b]
visi+[%b visi.b]
comm+[%b comm.b]
xeno+[%b xeno.b]
==