shrub/ren/urb.hoon

26 lines
1.0 KiB
Plaintext
Raw Normal View History

2016-02-05 06:05:37 +03:00
:::: /hoon/urb/ren
2016-02-05 05:57:44 +03:00
::
2016-02-18 02:25:53 +03:00
/? 310
2018-02-27 22:30:20 +03:00
/+ urb-split, :: for single-page apps
nutalk ::FIXME write ren/urb/nutalk
2016-02-12 01:35:58 +03:00
/% /^ {hed/{@uvH marl} bod/{@uvH marl}}
2018-02-27 22:30:20 +03:00
/, /web/pages/nutalk
/; urb-split /# /; nutalk /!htm/
/web/pages
2016-03-03 22:28:02 +03:00
/; urb-split /# /!hymn/
/web/collections
2018-02-27 22:30:20 +03:00
:: put collections through the same .htm
:: routing structure as nutalk
:: this is basically the same code as urb-split, just eliminates the dependency
/; |= {dep/@uvH urb/manx} ^- {hed/{@uvh marl} bod/{@uvH marl}}
~| [%malformed-urb urb] :: XX types
?> ?=({{$html $~} {{$head $~} *} {{$body $~} *} $~} urb)
=+ `{{$html $~} {{$head $~} hed/marl} {{$body $~} bod/marl} $~}`urb
:- [0v0 hed]
[0v0 bod]
/# /; nutalk /|(/!htm/ /htm/) ::a lot of stuff in here isn't .hoon files
2016-02-10 06:25:32 +03:00
/
/urb-tree/
==
2016-02-10 04:24:30 +03:00
-.-