fix collections config
++ txt
|= txs=(pole @t)
^- config:collections
+ :: TODO: putting ~ instead of * breaks this but shouldn't
+ ::
?> ?= $: full-path=@t
name=@t
desc=@t
com=@t
sk=@t
vis=@t
- ~
+ *
==
txs
::
- %- (hard config:collections)
:* %- need
%+ rash full-path.txs
;~ pfix (jest 'full-path: ')
::
(rash owner.txs ;~(pfix (jest 'owner: ~') fed:ag))
::
- (rash dc.txs ;~(pfix (jest 'date-created: ~') (cook |=(a=^ +.a) crub:so)))
+ %+ rash dc.txs
+ ;~ pfix
+ (jest 'date-created: ~')
+ (cook year when:so)
+ ==
::
- (rash lm.txs ;~(pfix (jest 'last-modified: ~') (cook |=(a=^ +.a) crub:so)))
+ %+ rash lm.txs
+ ;~ pfix
+ (jest 'last-modified: ~')
+ (cook year when:so)
+ ==
::
(rash type.txs ;~(pfix (jest 'type: ') (cook crip (star next))))
::
==
++ noun config:collections
--
-++ grad %txt
+++ grad %mime
--
